06-28-2022 01:36 AM
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.
Thank you in advance for your comments and help.
Ps.
Solved! Go to Solution.
06-28-2022 02:23 AM
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?
06-28-2022 03:00 AM - edited 06-28-2022 03:03 AM
Thank you! Now, I can see the name tab.
I am working on ValueChange events to create the "previous" button. I will let you know when I have more progress.
06-28-2022 03:33 AM
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!
06-28-2022 08:10 PM
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.