Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to direct Escape and X (close) icon to a routine?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00128888
Message ID:
00128912
Views:
27
>THe "X" in the upper-right corner calls the QueryUnload event. You can add
>code there to do anything you want. I'm not sure about ESC, but you can always
>put a check on ESC in the form keypress code.

Easiest way I can think of to get ESC is to put in a Quit button with its Cancel property set to .T.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform