Consultor Eletrônico



Kbase P9545: ADM2: ON ENTRY trigger of SmartWindow no longer fires in 9.1
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/05/2004
Status: Unverified

FACT(s) (Environment):

Progress 9.1D

FACT(s) (Environment):

Progress 9.1C

SYMPTOM(s):

ON ENTRY trigger of SmartWindow no longer fires in 9.1D

Trigger does fire in 9.1C

CAUSE:

This change of behavior is expected.

In 9.1D the ADM2 core code was changed to ensure that when a new SmartWindow is opened it automatically becomes the current window. This was done to resolve a large number of issues with the focus in the UI.

This change consist of a modification in windowmn.i, an entry trigger was defined that sets current-window = self.

FIX:

To revert to the behavior as seen in pre-9.1D versions of the ADM2, define the following preprocessor in the SmartWindow's definition section:

&SCOP OldCurrentWindowFocus

If the fix is needed for all windows then define the preprocessor in an include like src/adm2/custom/containrcustom.i. (See customization)

&GLOB OldCurrentWindowFocus