LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Grabbing cursor with right mouse button

Hello all,

 

I would like to know if someone knows a way to grab and move a cursor using the mouse right button instead of the left button as usual. The left button event would be to move two cursors simultaneously.

 

I've try few things already (mostly using mouse event) but without luck.

 

Thanks in advance!

 

Vincent

0 Kudos
Message 1 of 4
(2,208 Views)

Do you have any example code we could work from? (specifically the code for moving both cursors in tandum).

Making a right mouse click work the same as a left mouse click is trivial (in of itself) but doing so might make both the left and right click drag both cursors so I would like to do some testing...

 

0 Kudos
Message 2 of 4
(2,194 Views)

I dont know the reason why u want swap mouse buttons to move a cursor :[  but...  VI Attached

 

I had disabled the "normal way" with left button. Remove the "Mouse Down?" event to enable it again.

Message 3 of 4
(2,185 Views)

Thanks for your example Jiddu...

 

The reason is that the technicians that will be using the application are used to work that way (form an older app), so they want to keep it that way.

 

That will be a good start, thanks again!

0 Kudos
Message 4 of 4
(2,160 Views)