Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Forms & Form designer
Gerald,
I have already used the Ctrl and Shift keys for other reasons. I have no other choice but to use Alt.
If, as you say, the Alt key was always supposed to open the first menu item, then why did MS make it trappable in the Mousedown event? Did they overlook this issue?
>>Hi All,
>>
>>I have a form in which I put code in the MouseDown event to trap if the Alt key is pressed. This native event accepts a parameter called nShift and contains a value of 4 if the Alt key is pressed.
>>
>>It works. The "problem" is that when the event is exited, VFP interprets the Alt key press as a trigger to activate the main menu and my first menu option is highlighted. How can I prevent this from happening?
>>
>>TIA.
>
>Alt key alone was always suppose to open the first menu item.
>
>I suggest you to use ctrl or shift key to combine with a mouse click.
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