LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mouse Down event works but not Value Change event on a tab control

I have a tab control and a stop switch in my user interface.  The events are dynamically-registered and handled in another VI.  There are two events:  a Mouse Down event for the Stop switch and a Value Change event for the tab control.  When I click on the stop button, the event handler takes the proper action.  When I select a new tab on my tab control, the event handler does nothing.  As a test, I switched the tab control event to a Mouse Down event instead of the Value Change event and that is invoked when I click on the tab control.  Any ideas why my Value Change event is being ignored?

0 Kudos
Message 1 of 5
(3,297 Views)

Can you attach a simplified example that shows the problem?

0 Kudos
Message 2 of 5
(3,290 Views)

Can you post your exemple?

0 Kudos
Message 3 of 5
(3,282 Views)

Sorry it took me a while.  Here is an example.

 

Open the project, open both VIs, and run the event handler demo.  Click on the tabs of the tab control and see no updates to the New/Old Values.  Click stop to see execution stop.

0 Kudos
Message 4 of 5
(3,268 Views)

I can confirm the bug in LabVIEW 2009 SP1. Everything works fine in LabVIEW 2010, so it seems it got fixed. 😉

0 Kudos
Message 5 of 5
(3,264 Views)