Example Code

Hidden Tab Control

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Description

This example shows how to hide a tab control on a front panel by setting its colours to transparent. This gives a slightly cleaner appearance to the front panel. The user can then choose between tabs by using a menu bar comprising of a row of buttons.

 

 

The tab control is hidden when the VI starts to execute, but is then made visible again when the VI is aborted (by pressing the Quit button).

 

 

The button colours are changed to indicate which tab is selected. If a tab needs to be hidden/disabled during execution then the individual buttons should be disabled.

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors