Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help With MouseDown Event
Message
From
07/11/2001 10:17:51
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00578488
Message ID:
00578505
Views:
35
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
Map
View

Click here to load this message in the networking platform