Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a clear typeahead for mouse click?
Message
From
22/12/2011 03:26:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01531510
Message ID:
01531548
Views:
68
>I have a form with an ActiveX browser control. A Right click on the browser control brings up a VFP shortcut menu. All that works fine. However, when the user then right clicks on a normal container, with a shortcut menu on right click, the menu fires as if the user clicked on it. I strongly suspect that the 1st mouse click is still in the buffer and is firing on the 2nd menu. I tried =inkey() and clear typeahead and they made no difference which is why I suspect the mouse click.
>
>I have verified that this only happens after right clicking on a browser control.
>
>Is there a clear typeahead for mouse click?
DO WHILE INKEY("M") <> 0
ENDDO
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform