Complete the following steps to configure a tab control page programmatically.
Right-click the tabs of a tab control and select Create»Property Node from the shortcut menu. LabVIEW creates an implicitly linked Property Node on the block diagram.
Use the Operating tool to click the Property Node and select the Pages property from the shortcut menu.
Select the Index Array function located on the Functions»Array palette and place it on the block diagram.
Wire the Pages output of the Property Node to the n-dimension array input of the Index Array function.
Right-click the Index input of the Index Array function and select Create»Constant from the shortcut menu to create a numeric constant.
Type the index of the page you want to configure and press the <Enter> key. The index corresponds to the order of the pages as they appear on the tab control, in the range 0 to n1, where n is the number of pages on the tab control. For example, type 0 to configure the first page in the tab control.
Use the Positioning tool to resize the Index Array function if necessary.
Use the Wiring tool to right-click an element output of the Index Array function and select Create»Property and a property from the shortcut menu. LabVIEW creates a Property Node for the property you selected.
Place the Property Node on the block diagram and wire the element output of the Index Array function to the reference input of the Property Node you created in step 8.
Configure the Property Node if necessary.
Refer to the Tab Control Properties VI in the examples\general\controls\tabctrl.llb for an example of configuring tab control pages programmatically.