LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create tab control within a tab control?

So I'll lay out the basic outline of my project. Right now I have a tab control which scrolls through each of its tabs 1 second at a time. It does this until the user presses the pause button, the the scrolling stops and the user sees the tab that was onscreen right at the moment of pressing pause. Now what I want to do is have a separate tab control which comes up automatically once the user presses pause instead of the 1st tab control just stopping as it does now.

 

Or alternatively is there a way to programmatically tell the tab control to stop on a specific tab once pause is pressed? Even turn on and/or off the tab labels upon pressing pause? I've been informed I can accomplish this by way of using "nodes" I think is the term, but have yet to successfully implement anything.

0 Kudos
Message 1 of 5
(2,968 Views)

Let's keep this in the other thread.  http://forums.ni.com/t5/LabVIEW/Revision-How-to-make-tab-control-stop-on-a-specific-page-upon/td-p/2...

 

It is difficult to give you any help without seeing your code.  So post your latest VI in the other thread.

 

The "nodes" you are talking about refer to property nodes.

 

It seems like you are trying to program a very complicated and unfriendly user interface.  What is it you are really trying to do?

0 Kudos
Message 2 of 5
(2,956 Views)

Hi,

Please check attached VI, it may help you!!!

With Regards

Miraz
Kudos is better option to thank somebody on this forum
------------------------------------------------------------------------------
0 Kudos
Message 3 of 5
(2,924 Views)
The easiest solution would be to not use a tab control. Rather create each of the tab contents is a separate VI that runs in the background all the time. You would display these VIs is a subpanel. The results would be much simpler and far easier to maintain.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(2,909 Views)

@ShogunOrta wrote:

So I'll lay out the basic outline of my project. Right now I have a tab control which scrolls through each of its tabs 1 second at a time. It does this until the user presses the pause button, the the scrolling stops and the user sees the tab that was onscreen right at the moment of pressing pause. Now what I want to do is have a separate tab control which comes up automatically once the user presses pause instead of the 1st tab control just stopping as it does now.

 

Or alternatively is there a way to programmatically tell the tab control to stop on a specific tab once pause is pressed? Even turn on and/or off the tab labels upon pressing pause? I've been informed I can accomplish this by way of using "nodes" I think is the term, but have yet to successfully implement anything.


On Pause value change-event, change tab. To lock, either disable tab control (which'll also disable its controls), keep track of pause status to return to this tab if changed (in the tab change event) or place a transparent image over the tab selectors (which'll stop attempts of clicking them).

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 5
(2,898 Views)