Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress with F1 and F10
Message
 
 
À
14/08/2001 07:02:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00543404
Message ID:
00543448
Vues:
17
>Hi
>
>How do I make my form.keypress event capture F1 and F10 ?
>
>Form.Keypreview = .T.
>And I'm also having a menu active.

In the VFP Help, the INKEY topic has the code for these Key presses. Since you also have menu considerations, you might consider PUSH KEY in the form activate and clear any of their functionality. Use POP KEY in the form deactivate. In the KeyPress, handle all the function key keypresses yourself.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform