Configure tab controls by right-clicking a tab on the tab control and selecting from options on the shortcut menu. You also can use the Tab Control properties to configure tab controls and individual tab control pages programmatically. You must obtain a reference to a tab control page before you can configure an individual page.
Complete the following steps to configure a tab control.
Right-click a tab on the tab control.
Select from the following shortcut menu options:
Reorder Controls in PageReorders the objects on the active page for key navigation.
AdvancedSelect from the following options in the Advanced shortcut menu:
Hide PageHides the current page. If you hide the default page, the next page becomes the default page. If the only visible page is the default page, you cannot hide the default page.
Page Enabled StateModifies the enabled state of a page of the tab control. Select from Enabled, Disabled, and Disabled & Grayed.
Show Hidden PageShows a specific hidden page by name.
Make Page Caption Match LabelRemove the checkmark next to this option to change the tab text without changing the page label associated with the page. To display the page label, right-click the tab and select Visible Items»Page Label from the shortcut menu. Page labels correspond to the values of the enumerated type control on the block diagram.
Auto GrowIncreases the tab control size if an object you place on a page is outside the bounds of the tab control.
Allow Multiple ColorsAllows different colors on the individual pages of a tab control.
Allow Multiple RowsArranges any tabs that extend beyond the width of the tab control into an additional row of tabs. Remove the checkmark next to this option to display navigation buttons on the upper right of the tab control. Use these navigation buttons to scroll through tabs that are not visible.
Tab SizeAdjusts the size of the tabs. Select from Size Tabs to Contents, Size All Tabs to Largest Tab, or Fixed Tab Size. If you select Fixed Tab Size, use the Positioning tool to resize the individual tabs.
Place a checkmark by Justify Tabs to stretch each row of tabs to fill the entire width of the tab control. If the tab control has multiple rows of tabs, LabVIEW automatically justifies the tab size.
Tab LayoutChanges whether you can use text and/or images on the tabs of each tab control. You also can use this shortcut menu to add and remove images from the tabs.
Tab LocationChanges the location of the tabs on the tab control.