Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I make ESCAPE close a form
Message
De
27/07/2000 17:40:26
 
 
À
27/07/2000 17:16:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00397900
Message ID:
00397914
Vues:
16
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()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform