Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only