LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change page label on tab control

Is there a way to change a page label in tab control at run-time?
0 Kudos
Message 1 of 4
(3,729 Views)
Create a property node from your tab control. From this, select the Pages property. This will output an array which contains references to all of your pages. To access a specific page, index this array accordingly. Note, this must be done using the index array function, "auto-indexing" as an input to a for-loop (for example) does not work for some reason. Once you have indexed the array, create another property node and select PageLabel and set this to writeable. Hope this helps!
0 Kudos
Message 2 of 4
(3,723 Views)
Hello Festo,

As far as I know this property is read only at run time as you can see in the LabVIEW help window attached.

Paulo
0 Kudos
Message 3 of 4
(3,722 Views)
Sorry, Made a mistake. Use the TabCaption property of the page instead of the PageLabel. I have attached an example for you in version 7.0.

-EF
Message 4 of 4
(3,713 Views)