Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with hotkeys in a pageframe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00346928
Message ID:
00347740
Vues:
31
Fred,
There seems to be a bit of confusion at VFP headquarters: The second parameter of KeyPress is called "nShiftAltCtrl" and the Help says '

nShiftAltCtrl

Sets a bit if a modifier key is held down while the key identified in nKeyCode is pressed.

The valid modifier keys are the SHIFT, CTRL, and ALT keys.


Then at the end is the line YOU quoted. Very strange........



>Yes, INKEY() can trap ALT keystrokes, but I believe that KeyPress can not. (I believe I've tried it in the past, but I don't properly recall the results with absolute certainty.
>
>The last line of the help for KeyPress states:
>
>"The KeyPress event does not occur for any combination of keys with the ALT key.
>"
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform