General information
Category:
Coding, syntax & commands
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only