Vai al contenuto

TabSet

Division of subjects on tabs.Used commonly to represent various choices relating to subpages, portions of pages, multiple panels (CardPanel). It is normally positioned immediately above or below the page panel relating to the choice.Properties available:
  • strings: strings of text to be shown on the tabs: the number of tabs is equal to the number of strings.
  • fixedTabSize: if set to a value other than 0, it determines a fixed length which is the same for every tab, otherwise the tabs will be automatically dimensioned to correctly display the words.
  • alignment: grahic arrangement of the BOTTOM / TOP tabs
  • label: variable linked to the tab displayed.
  • background: background colour of the component.
  • foreground: drawing colour of tabs.
  • tabActiveColor: background colour of the active tab.
  • tabNormalColor: background colour of the inactive tab.
  • textActiveColor: text colour of the active tab.
  • textNormalColor: text colour of the inactive tab.
The component can be used via touch, mouse and keyboard. Every action reflects on the “label” control variable. This means that even changes to the value of the label have actions on the tab. It is helpful if associated to CardPanels where both use the same label.