>>In development, when I do: "On Key Label RightMouse ?'Yes' " the "Yes" appears on screen and the default Foxpro RightClick menu still appears. When I do: "On Key Label RightMouse CHR(13) " the Enter is ignored and the default menu still appears. Why doesn't the Enter work (I want to execute the line in the command window that the cursor is on) and how do I override the default RightClick menu? Thanks!
>>
>>Regards, Renoir
>
>Renoir, why don't you just select the line (or block of code) in the Command Window and choose Execute from the Right-Click menu?
On the other hand, if you do it like:
ON KEY LABEL RightMouse KEYBOARD CHR(13)
or
ON KEY LABEL RightMouse KEYBOARD '{Enter}'
it is working, but not reliably.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison