Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I make ESCAPE close a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00397900
Message ID:
00397975
Views:
15
>How do I make the ESCape key close a form? I suppose I could put an invisible button on the form with escape as the default. Is that the best way. I tried to use ON ESCAPE but couldn't get it to work.

---------------
Thanks to all of you. I'll try some of these ideas tomorrow. I'm reluctant to put key-press code in unnecessarily, because it executes so frequently. But the idea of a cancel button (maybe not visible) seems reasonable.
Tom Green in Montreal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform