esc key

myilmaz

New Member
how can disable 'ESC' key for close smart-windows in progress 8.2b.

to mean I have a menu on smart-windows and don't close this windows to press esc key.
 
Check the 'WINDOW-CLOSE' trigger of the window.

You should find this generic piece of code :

/* This ADM code must be left here in order for the SmartWindow
and its descendents to terminate properly on exit. */
APPLY "CLOSE":U TO THIS-PROCEDURE.
RETURN NO-APPLY.






Remove or comment the

APPLY "CLOSE":U TO THIS-PROCEDURE.

line and the window cannot be closed anymore with the ESC key or by clicking the top-right cross icon.
 
Back
Top