Problem:
How can I check to see if the Escape key was pressed in my graphical application ?
Resolution:
In Dialog System the escape key can be trapped with "ESC" Event.
If you are using the GUI Class library for controls or windows then you can trap the ESCAPE key with the p2ce-functionkey event.
Attach is some example code to illustrate how you can acheive this.
Attachments:
Old KB# 1361