Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I make ESCAPE close a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00397900
Message ID:
00397911
Vues:
8
>How do I make the ESCape key close a form? I suppose I could put an invisible button on the form with escape as the default. Is that the best way. I tried to use ON ESCAPE but couldn't get it to work.

Create a button that closes your form and set it's Cancel property to .T. The button can simply issue a Thisform.Release in the click event.
Paul G Brown, MCSD
Paul G Brown
paul@paulgbrown.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform