LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tab into specific tab by pressing a button

I have 5 tabs, each of which I want to show -only that particular one- when a button is pressed. Its acustom made button, so I've hidden the tabs on the top.

I can make tabs visible or invisible by using a pages property node for tab control, and made a pageVis with true or false for each of the pages.

 

I linked this to a button in an event making all false, except the one I want to show. However, it does not automatically tab into the tab I want to display. How do I achieve that.


Thanks!

0 Kudos
Message 1 of 3
(2,605 Views)

You need to write to the tab control (use a local variable).

 

Felix

0 Kudos
Message 2 of 3
(2,603 Views)

ahh I made a property node "value"  for the tab control. I noticed it returns a unique  integer for the visible tab. Thank you!

 

0 Kudos
Message 3 of 3
(2,596 Views)