Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Esc does quit
Message
From
28/09/1997 12:47:09
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00051976
Message ID:
00052070
Views:
33
>>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

Thanks for this response and the other about PADR.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform