Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Esc does quit
Message
 
À
28/09/1997 01:32:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00051976
Message ID:
00052071
Vues:
45
>>Personally, I'm using the following code in KeyPress() event of form class:
>>
>>if nKeycode = 27 && User has ESC pressed
>> this.Release()
>>endif
>>
>>Also, Keypreview = .t.
>
>What is best, putting a Cancel button on the baseform class, which will be invisible in my case, or using this code in the Key Press()?
Michel,

Having one less object is better unless that object serves some other purpose.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform