Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Esc does quit
Message
 
To
28/09/1997 01:32:08
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00051976
Message ID:
00052029
Views:
30
>>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()?

KeyPress=.T., sometimes the cancel property don't work as it suppose to.

:)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform