01-27-2011 06:36 PM
I have searched around and found nothing on the topic.. what i am looking at here is this.
I have currently set up two tabs that are identical, each representing a component on a device and the component is selected when the user clicks on the tab.
For example, if i switch to tab two, i select component two.
Now these tabs are identical, same controls same indicators and so on.. what i want to know is if it is possible to make it so that say.. if i tell it i have 5 components, it would show 5 identical tabs. if i told it it had 20 components it would bring up 20 and so on. At the moment i am looking at having to create each tab one by one and then hiding them..
Thanks for your time and any help at all is greatly appreciated 🙂
01-27-2011 07:02 PM
01-27-2011 10:47 PM
altenbach--this problem could be phrased a little more generally though: some, but not all types of controls could appear on each tab, while other controls are unique to particular tabs. I've encountered exactly this situation, and I don't have a good way to duplicate the exact location of the common controls on each tab. Can "copy and paste" be done "in place" somehow?
01-28-2011 12:09 AM
Have you tried right-clicking an existing tab page and select "duplicate page"?
01-28-2011 12:44 AM
I will try the "duplicate page" option when I get back on Tuesday lol. Sounds simple enough... but even so, that just means I have to make a whole bunch and then hide them all again...
Your original idea sounds the best even though it will mean re doing all the code.. definitely sounds a lot simpler. Thanks 🙂 I will explore the options.
01-28-2011 09:04 AM
Where do we find "duplicate page"?--I don't see it as a right-click option. I see in the help that there is a "duplicate page" function associated with VI scripting. What would be really be nice is "duplicate control on all pages", so that individual changes can be made after the pages already have stuff on them.