Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with hotkeys in a pageframe
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00346928
Message ID:
00347691
Views:
24
>Fred,
>The second parameter traps Shift, Ctrl and/or Alt value of the keystroke, and according to the INKEY() help ALT-1 - ALT-10 have verifiable values.
>
>Got to admit I haven't tested this......
>
>Barbara
>>
>>I don't think you can trap ALT keystrokes with the KeyPress event, can you?

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform