10-02-2009 05:06 PM
To all those willing to help:
I am using LabVIEW 8.6. I have created several applications using "Tab Controls" to reduce the size of the UI. This last one has been problematic in that the first tab does not display when the application is launched. I have reviewed all project files and configuration settings without luck. I have also searched through the help files and the NI web site without success. So I am posting my question here...
How does one change the tabbing order for the tabs of a "tab control"? Any and all help would be appreciated. My thanks ahead of time.
Bill Buxton
10-02-2009 05:56 PM
10-06-2009 10:09 AM
Bill,
Guenters solution will work if you can programatically determine your tab order. If you would rather rearange your tabs though (see example)
You can right click the tab control
and up pops
I haven't found a way to set this programatically-
10-06-2009 11:37 AM
10-06-2009 07:23 PM
10-07-2009 07:50 AM
Another option is to use subpanels instead of a tab control. Use buttons or a ring control to select the interface. This is easy to dynamically change. However, it introduces a whole new level of complexity.
The problem with the tab control is that under the hood it is an enum. The text and values of an enum cannot be changed at run time. As Raven's Fan said, you can do it when the VI is not running. However, you will need to call the VI dynamically to make this work, since it also cannot be idle in a running VI (reserved for running).
10-07-2009 07:59 AM
DFGray wrote:
The problem with the tab control is that under the hood it is an enum. The text and values of an enum cannot be changed at run time.
Nice tidbit to know
10-07-2009 12:21 PM
I appologize for my late reply. I have been taking care of sick children and have just returned to work.
My thanks to everyone and their support. After reviewing your suggestions I have decided to pursue the advise provided by Guenter Mueller. I also reviewd Darren's, but decided to use a property node for greater flexibiity in the future.
Once again thank you all and I hope this thread will be of help to others in the future,
Bill
10-07-2009 12:34 PM