LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to response the value change of slide bar only after mouse released

Solved!
Go to solution

Yes, this method is what I am using now.

 

thanks.

0 Kudos
Message 11 of 13
(565 Views)

There is a special situation you need to handle with a slider and the mouse up event.

 

If you mouse down, you can slide the slider back and forth even if you move the mouse off the slider.  When you mouse up, the event structure will not detect a mouse up event for the slider because the mouse is no longer over the slider when that happens.  So you could wind up changing the value and never detect the change by way of the mouse up event.

0 Kudos
Message 12 of 13
(560 Views)

Yes

Could I check if mouse down? 

If the mouse down can be check, i think i can filter the value change event.

I will not update my device if the slide bar value changed and mouse down.

0 Kudos
Message 13 of 13
(553 Views)