Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a clear typeahead for mouse click?
Message
 
To
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:
01531560
Views:
52
>>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
>
Jos, Thanks for the input but it did not work. There is something very strange going on here, something left over from right clicking the ActiveX browser, but I think I fixed it by setting focus to a dummy text box before showing the 2nd shortcut menu. Not sure what is firing off the menu selection but the text box eats it up.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform