Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing form on ESC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00169463
Message ID:
00169469
Vues:
25
I would probably use the cancel button. That's the standard method of closing a form with escape. Even if you don't display it, it's still closest to the standard. If you ever decide to have a cancel button on your forms, you're just one property away!

>What is the best way to have a form close with an ESC press?
>
>1) trap the KeyPress=27 event in the form and issue release()
>2) have a button (possibly invisible) set as "Cancel" and issue release() in its click
>3) something else
>
>
>Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform