Kbase P90733: How to close a standard dialog-box with a keyboard event
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  06/08/2004 |
|
Status: Unverified
GOAL:
How to close a standard dialog-box with a keyboard event
GOAL:
How to close a dialog-box with no buttons
FIX:
Create a new Keyboard event trigger based on a particular key. The following code is based on the use of the ENTER/RETURN key:
ON RETURN OF FRAME Dialog-Frame
DO:
APPLY "window-close" TO FRAME dialog-frame.
END.