LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you change tabs on a tab control by using boolean buttons?

Need to change tabs by pressing a button instead of using the actual tabs.
0 Kudos
Message 1 of 9
(4,785 Views)
Absolutely. First create a local variable for your tab control. Then poll your boolean to tell when its value has changed. Finally write a value to the tab's local variable to change its tab page programmatically.

Message Edited by Jarrod S. on 02-07-2007 05:46 PM

Jarrod S.
National Instruments
Message 2 of 9
(4,780 Views)
Yes, but how would you do it, let say if you had 20 booleans through out the front panel and you needed them to jump to other tabs?
0 Kudos
Message 3 of 9
(4,771 Views)
Sounds like a case for an event structure that acts on a value change for each boolean button. Inside each event case, wire a value to a property node for the tab control
0 Kudos
Message 4 of 9
(4,762 Views)
0 Kudos
Message 5 of 9
(4,760 Views)
All right, I got that far! Can not come up with a way to give a value to the boolean pushbutton to change events?
0 Kudos
Message 6 of 9
(4,755 Views)
You don't even need the property nodes.
Message 7 of 9
(4,755 Views)
Well done unclebump, this is just what I was looking for!  Thanks
0 Kudos
Message 8 of 9
(4,753 Views)
I'm not sure I follow what you mean. If you are writing to property nodes for the boolean button, you need to use the Value(Signaling) item.
0 Kudos
Message 9 of 9
(4,752 Views)