Consultor Eletrônico



Kbase P16824: How to make Progress return focus to a parent window when cl
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/01/2003
Status: Unverified

GOAL:

How to make Progress return focus to a parent window when closing one of its active children?

FIX:

When closing a child window, Progress does not return focus to its parent if there is another child window opened. In order to change this standard behavior, implement the following trigger into your application:

ON ENTRY ANYWHERE
DO:
IF SELF:TYPE = "WINDOW":U THEN
ASSIGN CURRENT-WINDOW = {&WINDOW-NAME}.
END.