LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like to detect mouse events for an XY-graph control using a 3-button mouse?

Unfortunately neither Mouse up/down detect the middle button, and Mouse up doesn't detect the right button. While Mouse down does detect the right button, right-clicking pops up a graph properties window (which isn't what I want). I'm using LabVIEW 6.1 on Windows XP Pro.
0 Kudos
Message 1 of 4
(2,857 Views)
This functionality is not built-in and I cannot think of any workarounds. If you want to make a suggestion to NI to add this feature, you can do so online. Goto www.ni.com >> contact NI (top left) >> feedback.
0 Kudos
Message 2 of 4
(2,857 Views)
The right mouse button defaults to putting up a popup menu. If you'd
like to change this, you should be able to do this with the filter
events which are marked with the "?" in the dialog. These let you
decide what happens with the event even changing things about it. I
don't have a multibutton mouse in front of me, but you can definitely
prevent the popup, and I believe you will still get the mouse up. As
mentioned, I don't think the middle mouse button will show up. I
believe this is in the works.

Greg McKaskle
0 Kudos
Message 3 of 4
(2,857 Views)
Thanks for your help. I can now discard the mouse down events, thereby eliminating the popup menu, and perform the meaningful work on the mouse up events. But, while the middle button mouse events show up, they're still mapped to the "1 button". Haven't solved that problem yet.
0 Kudos
Message 4 of 4
(2,857 Views)