Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ESC for exit the Form
Message
 
À
30/03/2000 18:02:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00352969
Message ID:
00353252
Vues:
17
>The user can close the form with CTRL+F4 or clicking the upper right corner or object with "ThisForm.release()" code.
>How could I make that the "ESC" would have the same effect?
>
>Thank's, Zlatko.


In the KeyPress event of the Form add:

LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = 27
thisform.Release()
endif
Henry Petry
AeroHunter.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform