Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing form on ESC
Message
De
21/12/1998 16:41:50
 
 
À
21/12/1998 16:35:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00169463
Message ID:
00169471
Vues:
36
I agree with Josh. The Cancel button is endemic to almost all Windows apps so you're in agreement with standards to have it (and make it visible). So, set Cancel property to .T. and you're cooking.


>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform