Jump to content

TabControl class

From LabVIEW Wiki
Revision as of 22:21, 1 September 2019 by Q (talk | contribs)
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name TabControl class
Class ID 55
Scope Basic Development Environment
Class Inheritance
Class Children

This class has no children.


The TabControl class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide TabControl Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
TabControl Properties Table
Property ID Short Name (English) Description R/W RTE
24DEB40C MultColors Allows different colors on each tab control page.

After you set this property to TRUE, you can use the Colors property to change the color of the page. If you assign multiple page colors and set Allow Multiple Colors to FALSE, LabVIEW retains the color of each individual page but the tab control reverts to its color before you colored the individual pages. If you set Allow Multiple Colors to TRUE, LabVIEW displays the multiple page colors again.

R/W X
24DEB402 MultRows If TRUE, LabVIEW arranges any tabs that extend beyond the width of the tab control into an additional row of tabs. If FALSE, LabVIEW displays navigation buttons on the upper right of the tab control, which you use to scroll through tabs that are not visible. R/W X
24DEB40D Auto Grow? Specifies if you can auto grow the tab control. R/W X
24DEB409 Colors Gets or sets the colors for the foreground and background of the tab control.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

R/W X
24DEB40B BGColor Gets or sets the background color of the tab control.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

This property is an element of the Colors property.

R/W X
24DEB40A FGColor Gets or sets the foreground color of the tab control.

You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.

This property is an element of the Colors property.

R/W X
24DEB401 TabDimension Gets or sets the tab width, height, or all elements.

To set the size of the tabs, you must set the Tab Size property to Fixed Tab Size or right-click the tabs of the tab control and select Advanced»Tab Size»Fixed Tab Size from the shortcut menu. You cannot set the tab size smaller than the width and height of the tab caption.

This property is similar to the Fixed tab size option on the Appearance page of the Tab Control Properties dialog box.

Elements:
Name Description
Width Gets or sets tab width when using fixed tab sizes.
Height Gets or sets tab height when using fixed tab sizes.
R/W X
24DEB408 TabHeight Gets or sets tab height when using fixed tab sizes.

This property is an element of the Fixed Tab Dimension property.

This property is similar to the Height option on the Appearance page of the Tab Control Properties dialog box.

R/W X
24DEB407 TabWidth Gets or sets tab width when using fixed tab sizes.

This property is an element of the Fixed Tab Dimension property.

This property is similar to the Width option on the Appearance page of the Tab Control Properties dialog box.

R/W X
24DEB403 JustifyTabs If TRUE, LabVIEW stretches each row of tabs to fill the entire width of the tab control.

This property is similar to the Advanced»Tab Size»Justify Tabs item on the shortcut menu of a tab control and the Justify option on the Appearance page of the Tab Control Properties dialog box.

R/W X
24DEB40F PageLabelsVis? Specifies if the page labels display are visible. R/W X
24DEB404 PaneDimension Gets or sets the width and height of the tab control pane. R/W X
24DEB406 PaneHeight Gets or sets the tab pane height.

This property is an element of the Tab Control Pane Dimension property.

R/W X
24DEB405 PaneWidth Gets or sets the tab pane width.

This property is an element of the Tab Control Pane Dimension property.

R/W X
24DEB412 TabInto If TRUE, the key focus rotates through the contents of the tab control when you press the key.

This property is similar to the Tabbing moves into contents option on the Key Navigation page of the Tab Control Properties dialog box.

R/W X
24DEB410 Tab Layout Gets or sets the tab layout. Valid values are 0 (Text Only), 1 (Image Only), 2 (Text - Image), and 3 (Image - Text). R/W X
24DEB411 Tab Location Gets or sets the tab location. Valid values are Top, Bottom, Left, and Right. R/W X
24DEB400 TabSize Gets or sets how LabVIEW adjusts the size of the tabs.

You can size tabs to their contents, size all tabs to the largest tab, or use a fixed tab size for each tab. If you set this property to Fixed Tab Size, you can use the Fixed Tab Dimension property to set the width and/or height of individual tabs.

This property is similar to the Tab Size option on the Appearance page of the Tab Control Properties dialog box.

R/W X
24DEB40E Tabs Visible? Specifies if the tabs are visible. R/W X

Methods

Show/Hide TabControl Methods Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
TabControl Methods Table
Method ID Short Name (English) Description RTE
24DEB000 Rearrange Pages Rearranges the pages of the tab control according to the order of the names in the string array. X

Events

No Events for this class.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also