Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALT+Key Not Captured By KeyPress?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00511073
Message ID:
00511118
Views:
19
>Renoir,
>
>Already done that. KeyPress does not Support ALT key combinations. Direct from the help file:
>
>The KeyPress event does not occur for any combination of keys with the ALT key
>
>Why, then, does it have nShiftALTCtrl? Why bother supporting ALT in that parameter, if it doesn't ever use it? Doesn't make much sense to me. I was asking if there is a way to capture the ALT key combinations, and I'm converting it FROM using OKLs, so I'd rather not use one of those to detect the ALT keys (although I will if I have to). Any suggestions?

You could have a menu option that calls the proper code. Set the hotkey to Alt+F5. This also provides a way to fire the code with mouse, per Windows guidelines.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform