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:40:26
 
 
To
27/07/2000 17:16:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00397900
Message ID:
00397914
Views:
11
First set the KeyPreview property of Form to True. This will force to KeyPress of Form to execute before KeyPress of any control.

Next step is simple:

If you have any global references in form to some other object release this reference. For example :

oNode = NULL (If You forgot to close all references Form will not be closed !!!)

Last step :
Add code

=ThisForm.Release()
Previous
Reply
Map
View

Click here to load this message in the networking platform