General information
Category:
Forms & Form designer
I have a Form subclass used for some applications, and to allow 'ease-of-exit' via Escape Key I use the following Form code:
Proc nKeyPress
DoDefault()
If nKeyCode = 27 && Escape key
THISFORM.Release()
Endif
...and set the Form's Keypreview property to .T.
HTH,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only