LabVIEW Wiki Home
Menu
Navigation

. Home
. Contents
. Recent changes
. Random page
. Help
. Donations

Toolbox

. What links here
. Related changes
. Upload file
. Special pages
. Printable version
. Permanent link










> TAB Control

Styles

1- LabVIEW-style Tab Control. In the modern palette, select subpalette "Containers" and insert Tab Control. Although it doesn't seem as professional-looking as the system-stye tab control, it's color can be modified. The system's tab control cannot. Image:LV_style.jpg

2- System-Style Tab Control. In the system palette, select the Tab Control. Image:System_style.jpg


Elements of Tab Control

Image:tab_elements.jpg

When building a user interface, it is common to hide the tab control label. Use a significant naming convention for your tab(s) in order not to get mixed up in your block diagram, especially if you have many tab controls.

There are three states for tabs. Tabs can be enabled (i.e. user selectable), disabled (looks the same has enabled state, but not selectable), or disabled and grayed. This last state is a useful feature for password-protected configuration tabs. The state can be programmatically controlled (see properties below).

In addition to page enabling, it is possible to hide a tab altogether using the page visibility properties. An example of how you can use this feature would be if you have a generic UI but you want to keep some features out-of-reach of operators and show the features for maintenance or machine administrator.

The page label display is hidden by default. To show it, it is required to right-click on the tabs and select >>Visible Items/Page Labels Display. The tabs are shown by default. It is possible to hide them (to control tabbing programmatically) >>Visible Items/Tabs.

Properties

There are many properties to a Tab Control. The most important ones are shown below.

Show/hide the tabs (page selector). Image:page_selector_visible.jpg

Show/hide the page labels display. Image:page_labeldisplay_visible.jpg

Array of references to each pages (in tabbing order). Image:pages_reference.jpg


Content is available under Creative Commons Attribution License 3.0  About LabVIEW Wiki  Disclaimers  LabVIEW™ is a Trademark of National Instruments Corp.
Creative Commons Attribution License 3.0
IpbWikiPowered by MediaWiki
Powered by WebRing.