02-26-2013 05:43 PM
Hi,
I have a GUI that installs on two different orientation machines (left to right product flow and right to left product flow). The GUI has a Tab control with 3 pages, the page order matches the physical order of the machine modules. How can I change the Page order programmatically to match the machine orientation without maintaining to separate Vi's? using sub panels is not an option at this point.
Thanks!
02-26-2013 06:54 PM
Is this what you want?
One way is to hide the tabs and use a customized radio button for the tab part. See this thread where I showed an example. Then you could use property nodes to change the boolean text or show/hide two radio button controls to get the effect you want.
Lynn
02-26-2013 09:11 PM
Using an index lookup list is simple enough to connect to selector buttons but the trick is to overlay them so the tab control looks natural. In the attached VI, the tab (as indicator) with content is transparent with its tabs turned off and lays atop the one with the tabs (no content on any of its tabs) and both controls are identical in size.
The working part of the code could be off-loaded into a support VI that accepts references for the the two tab conrols. This was pretty quick to layout.
02-27-2013 05:26 AM
02-27-2013 08:39 AM
Thanks for everyone’s help. Although not my favorite, but I’ll use the hidden tabs/radio buttons technique.