Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALT key and MouseDown Event
Message
From
01/08/2002 09:11:48
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00684778
Message ID:
00684928
Views:
24
Hi Caroline,

I gave your suggestion a try but it didn't help me. It appears that the menu item is highlighted after I release the ALT key. So in the MouseDown() event, all code runs correctly until I release the ALT key. I put CLEAR TYPEAHEAD as the last command in the MouseDown() event but the menu item still highlights (and gets focus).

As an aside, I checked into the VFP6.0 help for a form's KeyPress() Event. The event takes two parameters - nKeyCode, nShiftAltCtrl. The second parameter, according to the help is supposed to indicate the modifier keys SHIFT, CTRL and ALT. In the very last sentence, it says, "The KeyPress event does not occur for any combination of keys with the ALT key." It does not say this anywhere in the help for the MouseDown() event!

Thanks for trying to help.

Mike.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform