08-17-2012 01:27 PM
Does anyone know if and how I can use the mouse scroll wheel to change numeric control values?
08-17-2012 01:39 PM
Good question. Am not sure whether it is available or not but you can use the keyboard Up and Down buttons to change the value (You made me think why not for Mouse scroll button).
08-20-2012 10:38 AM
You can look into the following thread:
http://forums.ni.com/t5/LabVIEW/Mouse-wheel-scroll-event-ON-CHANGE/m-p/1137666#M501292
The link points to a post that has an example VI that shows how to capture the scroll wheel events. Run ME_Example.vi to see how it works.
08-20-2012 11:50 AM
You could cheat a bit... There are two hidden cases that set the boolean in the Shift Register True or False when the Numeric Mouse Enter and Mouse Leave events occur.
08-20-2012 01:09 PM
Thanks. I will digest this then maybe I can integrate this into my apps..
08-20-2012 01:11 PM
Jcarmody, thank you for the screen shot. I like this one. Can you also show the hidden event cases or attach the vi?
08-20-2012 01:26 PM
Another option would be to change the timeout. This would avoid the timeout event every ms when the mouse has not "entered" the contol.
08-20-2012 01:42 PM
Crossrulz, thank you for the vi. Can you save it as 2010?
08-20-2012 01:51 PM
I gotta start remembering to save for previous when I post...
Saved in 2009.
08-20-2012 02:59 PM
Thanks.