Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Key Label RightMouse (does it block RightClick event?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01023788
Message ID:
01024167
Vues:
23
I don't understand why it is working the way it does... so I don't know if I can count on it in all situations. Why does the rightclick() get invoked automatically, yet in that case it does not work correctly with selected text in a textbox?

>Mark,
>
>It sounds that you manage to do what you need. Then what is the actual problem?
>
>Ben
>
>
>>That is my experience, too. The RightClick() event will fire. However, I've noticed that if I have a "ON KEY LABEL RIGHTMOUSE" active, and then select some text in a textbox that has a rightclick event, and then rightclick in the textbox, the text becomes UNselected. Thus, any desired Cut or Copy operation with the selected text will no longer work. Very strange. Same behavior does NOT happen with an editbox. AND...even stranger... if I do issue an explicit call to rightclick() for the textbox control from within the RightMouse event, everything works correctly, INCLUDING the fact that I don't get a rightclick firing twice as you would expect if the rightclick() was still happening by default anyway.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform