Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use key combo to call button.click()
Message
De
12/05/2003 16:10:18
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
12/05/2003 15:08:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00787445
Message ID:
00787490
Vues:
19
What if the button doesn't have a caption, only a image? The hot key on a button label would work but my button doesn't have a caption.

Thanks,

Jerry


>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform