From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tab control- ‘N’ number of tabs

I want to establish ‘N' number of tabs at the onset of my program based on my needs..

I don’t want to start out with a fixed number of tabs..

Can I do that.?

Thanks

Chris

0 Kudos
Message 1 of 3
(2,417 Views)
Hi Chris, you wouldn't be able create new pages at run-time. There's a good discussion and some options here: http://forums.ni.com/ni/board/message?board.id=170&thread.id=133269&view=by_date_ascending&page=1
 
My advice, and something that has worked for us, is judge as best as possible the number of pages you'll need beforehand and create them all. Then you can show/hide them at run-time (and startup). Even if you programmatically created the pages, they'd be empty. You'd still need to fill them with controls and indicators.
 
Hope this helps.
0 Kudos
Message 2 of 3
(2,402 Views)

Yes, that clears things up very nice nicely ,thank you.

Chris

0 Kudos
Message 3 of 3
(2,390 Views)