>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.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca