Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Esc does quit
Message
De
28/09/1997 12:47:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00051976
Message ID:
00052070
Vues:
38
>>In many application, pressing Esc is quitting the form.
>>
>>What's the best way to handle that in Visual FoxPro?
>I make the Exit or Cancel button have the Cancel property set to .T. If there is no cancel button then I set Form.KeyPreview to .T. and catch the nKeyCode = 27 in the Form.KeyPress event

Thanks for this response and the other about PADR.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform