phuzionz Posted September 22, 2007 Report Share Posted September 22, 2007 Hello, Is their a way to add programmatically a page on tabcontrol? I don't find any option in the property node. Thanks, Jeroen Quote Link to comment
hfettig Posted September 22, 2007 Report Share Posted September 22, 2007 I do not think there is and it wouldn't really do you any good since you cannot programmatically at controls to that page. What you can do, however, is add the page with all its controls during edit, hide the page at startup, and then programmatically make it visible. Quote Link to comment
LAVA 1.0 Content Posted September 22, 2007 Report Share Posted September 22, 2007 The Tab Control is represented on the block diagram as an enum. You cannot edit an enum at run-time. As hfettig mentioned, you can hide individual tabs and/or disable them. As a workaround you could create a "generic" tab containing a subpanel. The tab could be programatically hidden and shown, and it's tab text changed. You could place a subpanel in this generic tab and then programmatically load whatever VI you need into the subpanel. Quote Link to comment
LAVA 1.0 Content Posted September 23, 2007 Report Share Posted September 23, 2007 You may want to adopt a strategy that looks like the LV options window, w/ a list box to the left and a subpanel to the right. You get a little different feel, but look what it's done for the options page and also the build exe page. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.