PDA

View Full Version : XPand: HxPortTabBar refresh?


EmmetL
27th May 2010, 20:22
I have a Tab Bar port set up in a module, and the number of tabs, names of the tabs, and contents of each tab are going to vary based on a file that is loaded, so everything is set at runtime, with no hard-coded values.

I can add all of the data, at runtime, to the Tab Bar port, naming each tab appropriately, and adding each individual port to the appropriate tabs in the appropriate order, I just have one problem. None of the ports show up until I click on one of the tabs to start.

By default, the first tab is selected, but none of the ports added to the first tab are displayed until I choose a different tab, then choose the first one again.

Currently, I initialize the Tab Bar with the appropriate number of tabs, set the labels, then add each port to the appropriate tab, then I display the Tab Bar.

Any assistance would be helpful, and thanks in advance!