Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with hotkeys in a pageframe
Message
From
19/03/2000 20:18:03
 
 
To
19/03/2000 01:50:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00346928
Message ID:
00347693
Views:
22
>>I don't think you can trap ALT keystrokes with the KeyPress event, can you?
>
>Not Alt alone, but with another event you could determine ALTs state. Determining when ALT is pressed is worthless, because in the OS it just gets you to menues, but when you use ALT as Alternate behaviors (conincidence ;-) to clicking or pressing a key, it can be trapped with the nShift paremeter of the KeyPress() and MouseUp/Down() events

Nope, it can't, even when used as a modifier of keystrokes.
Last line of KeyPress help:

"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