Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture Function Key in KeyPress
Message
De
30/09/2001 20:28:52
 
 
À
30/09/2001 15:31:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00562347
Message ID:
00562374
Vues:
23
The F10 key was to try to carry forward a feature from the "old" system for saving a "batch" of entires. I've decided to not carry foward this feature, the user can Press the Save Button or select "Alt-S" to do the same thing. Thanks all for your suggestions!


>Technically, F10 is a Windows reserved key. I would advise against using an OKL. Try defining a menu option with a shortcut for the function key.
>
>>I'm trying to caption the F10 while processing a form. The KeyPress event for the form is testing for nKeyCode = -9, I also have the KeyPreview set to True. In testing I've tried displaying the nKeyCode value on the screen, and all key values are displayed, except for function keys. Sometimes they are "captured" with the KeyPress event, but most of the time they are not.
>>
>>I've tried PUSH KEY CLEAR to make sure there are no assignments to the function keys.
>>
>>What needs to be done to capture function keys?
____________________________________________

Norm Peterson

It's a dog eat dog world out there,
and I'm wear'n milk bone underware!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform