LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab name does not show.

Solved!
Go to solution

I have a program consisting of three pages. I can change the page using the "next button." This next button is in the event structure. It only allows me to go from page 1->2->3. I can not go the other way around (page3->2->1).   

 

I want to improve this program to make it possible to go back (page3->2->1). So, a user can check the parameter on the previous page. 

 

To do that, I want to change the page freely using the name tab. However, the name tab is not visible as shown in this figure. Please help me make it visible.

tab label doesnot show.jpg

Thank you in advance for your comments and help.

 

Ps. 

  1. I have LabVIEW 2015. 
  2. I got this program from a colleague who has already resigned. There are many parts of the program that I have not understood. Plus, I do not have much experience. Any ideas or suggestions would help me a lot. 
0 Kudos
Message 1 of 5
(1,007 Views)
Solution
Accepted by topic author PuriK.

Hi Puri,

 


@PuriK. wrote:

To do that, I want to change the page freely using the name tab. However, the name tab is not visible as shown in this figure. Please help me make it visible.


Right-click the tab container and show the tab (labels)…

 


@PuriK. wrote:

This next button is in the event structure. It only allows me to go from page 1->2->3. I can not go the other way around (page3->2->1).   

 

I want to improve this program to make it possible to go back (page3->2->1). So, a user can check the parameter on the previous page. 


Why don't you add a "previous" button, check it's ValueChange events in your event structure and switch to the requested tab using the same approach as was used with the "next" button?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(988 Views)

Thank you! Now, I can see the name tab. 

tab label doesnot show2.jpg

I am working on ValueChange events to create the "previous" button. I will let you know when I have more progress.

0 Kudos
Message 3 of 5
(975 Views)
Solution
Accepted by topic author PuriK.

A typical user expects visible tabs to be controllable directly by clicking on any tab. Your code seems to have turned them into an "assistant" where the order (next/previous) is controlled by buttons and the tab is an indicator (i.e. not a control that can be operated). In that scenario, showing tabs is misleading and gives a poor user experience. If tabs are visible, the user will try to click on them!

 

Make sure the prev/next buttons are outside the tabs, so you only need one set. You don't want to scatter copies of identical controls on multiple tabs, multiplying the number of events to handle and complicating your code. Make it scalable!

Message 4 of 5
(968 Views)

Thank you so much for your idea. I am trying to make it better! Now, I can make the program-page change using both the tab and the next-previous button. But, when I go to the previous page I cannot change any input parameter on the previous page.  

 

However, this issue seems to be out of the "Tab name does not show" topic. I will start a new topic and attach the program. I am looking forward to more discussion. 

0 Kudos
Message 5 of 5
(936 Views)