LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab controling Tab

Solved!
Go to solution

My goal is following

 

When i press the A tab on the test tab control, the B tab shall disepear in test tab control and only the A tab should be visible in test2 tab control( not greyed out) . The same thing shall happen when B are pressed, that wil say only will be visible.

 

In other word , i want to use one tab control to control another tabcontrols visible tabs

0 Kudos
Message 1 of 8
(3,411 Views)

You can create a property node of a tab control to give you references to all of the pages (a 1-D array).  From there, you can create a property node on a particular reference and set the visibility of that page.

 

Message 2 of 8
(3,401 Views)

Thx for the answer.

I hav e worked on this issue for sometime now and the problem seem to be getting the pages i want to dissipear to actually dissepear. Now they only gets greyed out and still visible . Need to remove them completly.

 

Im also using and case to control the stages.

0 Kudos
Message 3 of 8
(3,394 Views)

PageEnable allows you to enable/disable a page.

PageVisibility allows you to hide or show the page.

 

In your VI, where is your while loop?  It will only run one time.

You don't need all the indices wired for the Index Array.  By default they start at 0 and increment from there.

0 Kudos
Message 4 of 8
(3,381 Views)

Thx for the tip

 

But why are the page still visible when i have set them to false in visibility?

0 Kudos
Message 5 of 8
(3,371 Views)

I don't see that.

 

How are you running your VI?

 

I asked where your while loop is.  Please don't tell me you are using the Run Continuously button.

 

If you are, don't.  If  you are, you might be running so superfast you aren't giving the CPU time to do screen updates.

 

Pay careful attention how you design your user interface.  One of the things that can quickly be coming annoying is when you click on a tab, then only to have the tab to appear to disappear underneath you.  Clicking the tab on the left to change the right side tabs seems okay.  But clicking the tab on the left and having it change the tab pages on the left is annoying.

0 Kudos
Message 6 of 8
(3,356 Views)

Hey

 

Im using a while loop now but still when i go from page 2 to 3 the page 6 stick with me.

All other combination seems to work . Why

0 Kudos
Message 7 of 8
(3,351 Views)
Solution
Accepted by torkil

Problem solved here.

 

(Don't create another whole new thread on the same issue.  It wastes people's time becuase you don't give them the benefit of seeing what has happened on the issue already.):smileymad:

Message 8 of 8
(3,317 Views)