From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-24-2010 07:38 AM
I've just noticed that the 'mouse up' event only works if the mouse cursor remains hovering over the control panel icon associated with it.
It's a problem for me because I have a slider bar which passes values (via an event queue, then RS232 to hardware) when the slider value changes. But that can generate lots of queued up serial writes if I slide quickly back and forth with the slider, so I use a mouse up event to flush the queue. It appears to work, but if I click and drag, sliding the cursor outside the slider bar area, it fails to recognise the mouse up event.
06-25-2010 09:27 AM
Hi Graham,
Is it the default behaviour that the Mouse Up event only works while the mouse is above the control itself. If you want to have a slightly larger area, you can use the Mouse Up event of the Pane, and then check the co-ordinates of the mouse cursor before doing your processing.
Regards,
Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants
12-27-2015 05:05 AM
That's exactly what I am looking for. Thank you so much.
I am trying to scrol a series of images with a scrol bar.
I need the image in the place my mouse up to show up.
But I just found the "mouse up" event does not work if my mouse be outside the scroll bar, although the scrolling still works.
Following your advice, I made a event structure as
1. Mouse Down Event for scroll bar
Recognize the scroll bar was clicked and generate a true value.
True value is transfered with a shift register.
2. Mouse Up Event for pane
Recognize the mouse up.
If the transfered T/F value is true, then read the value of scroll bar (with local variable).
If the transfered T/F value is false, then do noting.
This works perfect.
12-27-2015 02:38 PM
Thanks.
12-27-2015 11:33 PM
01-08-2016 06:13 AM
Hi altenbach,
I attached the vi I made.
Although this vi works perfectly for me, I still hope you can give me some comment
What I want to do is,
1) image does not change until I releae mouse button from the scroll bar
2) But file name change when I move the scroll bar
3) I can relase mouse anywhere, not limited above scroll bar
Thanks.
01-08-2016 11:29 AM
Just structurally:
Mike...