Programming the Tab Control Programmatially in LabVIEW
Rashid Malik Rashid Malik
1.58K subscribers
5,692 views
46

 Published On Dec 20, 2019

Programming the Tab Control Programmatically in LabVIEW

In this video, we will show how to programmatically manipulate the appearance of a tab control. Specific examples include changing the names of the pages, changing the page enabled state, hiding pages, and coloring individual pages in different colors and many others.
We will learn how we can use property nodes to programmatically change the appearance of a Tab Control.
To see the right-click menu for the tab control, you must click on its border.
You can place a Shared Button which is visible on all pages of the tab control. You can do this by dropping a button on the panel and moving it over the tab control, as opposed to dropping it within the tab control itself. A shadow under the button will indicate that the control is not part of the tad control. The shadow under the control disappears when the VI runs.
We will learn how we can read the Pages property of the tab control to obtain references to each page. The labels of tab control pages cannot be changed at run time, but the captions can be changed, as long as Advanced - Make Page Caption Match Label is deselected on the tab control.
The colors of tab control pages can be set independently as long as Advanced - Allow Multiple Colors is selected on the tab control.
The enabled state options for tab control pages are Page Enabled, Page Disabled, and Page Disabled & Grayed.
We will learn how to set the Page Visible property of a tab Page. When we stop the VI, LabVIEW automatically cleans up any GObject references that were opened (like the Pages references). We will also learn how to use the tab location and justify tabs properties.

Watch the entire LabVIEW tutorial series here;
   • NI LabVIEW - How to Use View Menu?  

Watch the entire TestStand video learning series here;
   • NI TestStand Documentation and Resources  

#LabVIEW #programmaticallychangeappearanceofTabControl #TabControl

show more

Share/Embed