ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Mouse Down event for a picture control embedded in tab.

I noticed that when trying to get a Mouse Down event for a picture control that the Mouse Down will not be 'fired' if the picture is embedded in a tab control. It also appears that this problem exists for other controls (I only tested a slider in addition to the picture). It isn't much of an issue for me now as I can just poll the mouse property of the picture control, but the Mouse Down event has information that I may want access to in my next software revision (button pressed, and Alt mod). I could do that by handling the Mouse Down event for the tab itself and checking to see if the the mouse property isn't -1, -1 for the picture, but that seems a little bit too kludgy (sp?) to me and wouldn
't address the issue with other control types. Any chance of this being addressed by a patch sometime in the next couple of months???
0 Kudos
Message 1 of 5
(3,076 Views)
Hi Tuck,

This is devistating! Your example demonstrates the issue well on the machine I am using.

I have NI support looking into this issue as I write.

Service request # 468881.

As soon as I hear more I will share.

Thank you for sharing this example.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(3,076 Views)
This "feature" has been confirmed by NI.

I will post more when I am able.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 5
(3,076 Views)
I am having the same problem, any chance there is an answer to this problem yet (since it is now 8/2004)?!?
0 Kudos
Message 4 of 5
(3,076 Views)
The problem I reported above was in LV 6.1.

As a work-around, I used the mouse down on the tab control and did the math to decide if the picture was clicked.

I have been told that this was fixed in LV 7.0. I can not confirm.

You could call NI and ask about the service request number I cited above.

I hope this helps,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(3,076 Views)