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:
00347896
Vues:
24
>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........

Add to that the fact that it works for Mike H. and does not work for me. So, is the documentation right, or is it just something funky with my installations?


>
>>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.
>>"
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform