From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(671 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
(666 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
(659 Views)