Handle mouse up on digital slider control - even when the mouse leaves the control.

I have a stumper here:

I have a slider control digital I want to reset to 0 when the user released the mouse button when you drag the control - sort of a physical joystick response where the stick back toward the Center by releasing.

I am able to be a part work by managing the mouse event and setting the value of the control to 0. But the mouse never an event only occurs if the user drags the slider control and leaves the cursor of border control - and release the mouse when the pointer is out of control. In this case, the value of the slider is preserved and the mouse an event doesn't happen ever regarding the digital slider.

Any help is appreciated.

Al

Advertisement

Try using the pane-> mouse event to the top instead.

Tags: NI Software

Similar Questions

Maybe you are looking for