Kbase P55134: The 'APPLY "CLOSE":U TO THIS-PROCEDURE.' does not close my application window.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  31/12/2004 |
|
Status: Unverified
SYMPTOM(s):
The 'APPLY "CLOSE":U TO THIS-PROCEDURE.' does not close my application window.
CAUSE:
If the 'application window' is a dialog box which, it has a 'WAIT-FOR GO OF FRAME {&FRAME-NAME}.' statement. Hence it will close on the 'GO' event and not on the 'CLOSE' event.
FIX:
To close a dialog box window using the 'APPLY "CLOSE":U TO THIS-PROCEDURE.' statement, change WAIT-FOR statement in the main block from:
WAIT-FOR GO OF FRAME {&FRAME-NAME}.
to
WAIT-FOR CLOSE OF THIS-PROCEDURE.