12-02-2012 08:57 PM
Hi, all
When I used the slide bar to control my device, I response the value change of slide bar and set the new value to my device. But it will generate response constantly when I use the mouse to drag the pointer, which is not my wanted. I just need to response only after the mouse released. How can I implement this function?
Hope your suggestion, thanks a lot.
Solved! Go to Solution.
12-02-2012 09:21 PM
Are you currently using a User Event structure? If not, use one and then create an event for your slider. Under the possible events you can choose, you will see "Mouse". Expand that and have a look.
12-02-2012 09:24 PM
Thanks for your reply.
Yes, I use the event structure now.
It will generate many events if I use the mouse to drag the pointer, which is not my need.
I only need 1 event after the mouse released.
12-02-2012 09:26 PM - edited 12-02-2012 09:29 PM
No, not if you use the right event under "Mouse".
12-02-2012 09:31 PM
Do you mean the event of "Mouse Up"?
I used this, but it will can not response the digital display value change of the slide bar.
12-02-2012 09:36 PM - edited 12-02-2012 09:37 PM
You said you were using the pointer to "drag" the slider...no mention of the digital display.
Do you mean you want this to work for either case of dragging the slider OR changing the digital display?