Kbase P17582: SmartWindow has a trigger defined for the ENTRY event of the window and that event is ignored at run
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.1D
Progress 9.1C
SYMPTOM(s):
SmartWindow has a trigger defined for the ENTRY event of the window
ON ENTRY trigger of SmartWindow no longer fires in 9.1D
Trigger does fire in 9.1C
CHANGE:
Migrated from Progress 9.1C to Progress 9.1D
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