Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Command Buttons
Message
De
19/11/2001 08:29:04
 
 
À
18/11/2001 23:50:21
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00583321
Message ID:
00583377
Vues:
20
cmdButton.Default = .T.

will cause the Click event to fire when the user presses Enter.

I advise against On Key Label. You can set up a hot key with \< in front of the key you want to fire. For example, \

>hi all,
>
>other than on key label, keypress events, are there any other way to config a form, such that when user press a key (e.g. Esc), a button of the form will act like been clicked?
>
>when i use on key label, only the code in the button's click event is executed, but I also want to see the animate effect of the button..
>
>Thanks in advance!
>
>Jimi
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform