Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use key combo to call button.click()
Message
De
12/05/2003 15:08:18
 
 
À
12/05/2003 14:37:21
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00787445
Message ID:
00787459
Vues:
18
Jerry,

In the caption of the commandButton, put:
<\MyCaption
The letter immediately after the backslash will be underlined...in this example pressing Alt-M will click the button.

>Using VFP8.
>
>Is there any way to define a key combination to call a command button's click event?
>
>I know I can define an ON KEY LABEL, but I only want that key combo available in myform.scx.
>
>I have also tried the form's keypress event but if a grid on the form has focus, the form's keypress doesn't seem to fire.
>
>Any ideas?
>
>Thanks,
>
>Jerry
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform