Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a clear typeahead for mouse click?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01531510
Message ID:
01531515
Vues:
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?
>
>Have you tried adding NODEFAULT in the RightClick of the Web Browser control?

Yup. Should have mentioned it. I did kind of fix it but it's not totally reliable. When I call the PRG that shows the short cut menu I first set focus to a small dummy text box on the form. That seems to eat up the mouse click (or whatever) most of the time but I would like to find a better way.
Thanks Naomi.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform