LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Grayed out tab

Solved!
Go to solution

Hey

 

 when i go from page 2 to 3 the page 6 stick with me.I want it to not bee shown

All other combination seems to work . Why

0 Kudos
Message 1 of 5
(3,871 Views)

Hi,

The greyed tabs occur, when you try to make all tabs invisible. Labview needs to keep at least one tab visible.

If you have 2 tabs; page 1, page 2 and you want to make visible page 1, you must :

 

page 1 visible;

page 2 invisible;

 

Take a look at my example bellow. It programatically changes tab visibility and uses a subVI to do so. The subVI takes one boolean parameter, that determines if you want to just show tabs supposed to be visible or also hide the other ones. If you hide and show the tabs in one loop (e.g. you use only one instance of this subVI), you will get the grey tabs you see in your example.

 

Hope this helps and clarifies the problem.

0 Kudos
Message 2 of 5
(3,860 Views)

Thx for the tips

But how do i modify my VI do work the right way?

0 Kudos
Message 3 of 5
(3,853 Views)
Solution
Accepted by topic author torkil

Make the pages, you want to have visible visible first. After that, make the pages you want to have invisible invisible.

 

The way you have your code arranged, nobody knows, which properties will be set first.

0 Kudos
Message 4 of 5
(3,851 Views)

Thx thx thx one million times u make my day!!!

0 Kudos
Message 5 of 5
(3,844 Views)