Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close form by pressing ESC
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Close form by pressing ESC
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01538616
Message ID:
01538616
Vues:
105
Hi everybody,

I have a form with Web Browser control taking all the form. I set KeyPreview property to .t. and added a code in KeyPress event
 if nKeyCode = 27
   thisform.release()
endif
However, pressing ESC doesn't close the form. Do you know how can I make this form to close on ESC?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform