I have a Tab Strip with 6 tabs. Each tab selects a different “Main” Window (incoming event also calls swapTo()). I have created a tabData dataset with SELECTED_FONT and UNSELECTED_FONT columns. I have bound the selectedTab to “[System]Client/User/CurrentWindow”
I believe I am following all the best practices regarding tab strips. (If not, please advise.)
The problem is inconsistent behavior with the “setting” of the font to the SELECTED_FONT value when a tab is selected.
After the first couple clicks for the next half-dozen clicks it sets the SELECTED_FONT on the tab selected three clicks ago.
Then it catches up a click and sets the SELECTED_FONT on the tab clicked just previous to the last click.
After another pass through the tabs or so, it sets the SELECTED_FONT properly - on the tab clicked.
- This seems like a defect - is it a known defect?
I tried hard-setting the font to the selected value with a variety of code constructs but was not able to get to the font property of the selectedTab (TabBar.Tab Strip.selectedTab.font) - has anyone done this?
- Are the properties of the selectedTab “reachable” via script?