LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I progromatically change page focus on a tab control?

I would like to progromatically change which page on a tab control is in focus. I have tried looking into the tab properties and the individual page properties but have not found the proper property to modify.
0 Kudos
Message 1 of 7
(3,367 Views)
Change the value of the tab...e.g. by writing the wanted page index to a local of the tab control.
Message 2 of 7
(3,367 Views)
...make sure the tab is an indicator, not a control 🙂




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 3 of 7
(3,367 Views)
Why?

The method is just as applicable with the tab as a control.
0 Kudos
Message 4 of 7
(3,367 Views)
Thanks to all. That had been my first guess and I thought I had tried that ... but I guess I didn't.
0 Kudos
Message 5 of 7
(3,367 Views)
If you change the tab control to an indicator you can create a property node using the value property and write to it that way. Hope this help. Otherwise as a control just write to the terminal.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
Message 6 of 7
(3,367 Views)
Sorry - I had misread your answer. You're right: it can be anything if you're going to use locals or property nodes, but it needs to be an indicator if you're going to write directly to the node istelf.




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
Message 7 of 7
(3,367 Views)