Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Esc does quit
Message
From
28/09/1997 01:32:08
 
 
To
28/09/1997 01:29:47
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00051976
Message ID:
00052028
Views:
32
>Personally, I'm using the following code in KeyPress() event of form class:
>
>if nKeycode = 27 && User has ESC pressed
> this.Release()
>endif
>
>Also, Keypreview = .t.

What is best, putting a Cancel button on the baseform class, which will be invisible in my case, or using this code in the Key Press()?
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
Next
Reply
Map
View

Click here to load this message in the networking platform