Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I make ESCAPE close a form
Message
From
27/07/2000 17:17:04
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00397900
Message ID:
00397903
Views:
18
This is what I've always used...
Form.KeyPreview = .T.

** Form.KeyPress() event
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode = 27 && ESC
  this.Release()
EndIf
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform