Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function Keys and Buttons
Message
De
30/06/1999 09:42:48
 
 
À
30/06/1999 09:24:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00235845
Message ID:
00235858
Vues:
22
>How can I assign a function key (F2,F3 etc) to a button in a form. I do know about the hot key assignement with \< but that that does not seem to work with function keys.
>
>Thanx
>Gnana

Gnana,

If this is a Visual Fox question, you could use the KEYPRESS event of the form to trap the keypress, and then act on it by calling the required button click code. For this to work you will need the KEYPREVIEW property of the form set to TRUE, otherwise the selected controls KEYPRESS event will be fired.

HTH
regards

Ian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform