Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Esc does quit
Message
 
To
27/09/1997 15:47:00
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00051976
Message ID:
00052069
Views:
35
>In many application, pressing Esc is quitting the form.
>
>What's the best way to handle that in Visual FoxPro?
I make the Exit or Cancel button have the Cancel property set to .T. If there is no cancel button then I set Form.KeyPreview to .T. and catch the nKeyCode = 27 in the Form.KeyPress event
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform