TabBarGadgetFunctionsSetTabBarGadgetAttribute

TabBarGadget

ConfigurationExamplesFunctions
AddTabBarGadgetItemClearTabBarGadgetItemsCountTabBarGadgetItemsEventTypeFreeTabBarGadgetGetTabBarGadgetAttributeGetTabBarGadgetDataGetTabBarGadgetItemAttributeGetTabBarGadgetItemColorGetTabBarGadgetItemDataGetTabBarGadgetItemPositionGetTabBarGadgetItemStateGetTabBarGadgetItemTextGetTabBarGadgetStateGetTabBarGadgetTextRemoveTabBarGadgetItemSetTabBarGadgetAttributeSetTabBarGadgetDataSetTabBarGadgetFontSetTabBarGadgetItemAttributeSetTabBarGadgetItemColorSetTabBarGadgetItemDataSetTabBarGadgetItemImageSetTabBarGadgetItemPositionSetTabBarGadgetItemStateSetTabBarGadgetItemTextSetTabBarGadgetStateSetTabBarGadgetTextTabBarGadgetTabBarGadgetItemIDTabBarGadgetItemToolTipTabBarGadgetToolTipUpdateTabBarGadget
History

SetTabBarGadgetAttributeFUNCTION

Description

Changes the specified attribute of the specified tab bar gadget.

Syntax

SetTabBarGadgetAttribute( Gadget.i, Attribute.i, Value.i [, Overwrite.i] )

Parameters

Gadget A valid number of a tab bar gadget.
Attribut, Value The attribute and the new value. See below for more details!
Overwrite If you use #False tab attributes are set only for new tabs. If you use #True, tab attributes are overwrite with the new attribute value (by default).

Return value

None

Attributes and values

Attribute Value Description
#TabBarGadget_BottomLine #True or #False A thin line on bottom of the tab bar.
#TabBarGadget_CheckBox #True or #False A small check box on every tab.
#TabBarGadget_CloseButton #True or #False A small cross on every tab to close the tab.
#TabBarGadget_Editable #True or #False Enables the editing of the tab text with double click.
#TabBarGadget_MaxTabLength Length (in pixel) Maximum length of a tab.
#TabBarGadget_MinTabLength Length (in pixel) Minimum length of a tab.
#TabBarGadget_MirroredTabs #True or #False Mirrors the tabs on the long side.
Example: Vertical or mirrored tab bar
#TabBarGadget_MultiLine #True or #False The tabs use multiple rows if they need more space.
Example: Multiline tab bar
#TabBarGadget_MultiSelect #True or #False Enables the selections of multiple tabs at the same time.
#TabBarGadget_NewTab #True or #False An empty tab to add more tabs.
#TabBarGadget_NoTabMoving #True or #False Dissallow the moving of tabs.
#TabBarGadget_PopupButton #True or #False A drop down arrow at the end of the tab bar.
#TabBarGadget_ReverseOrdering #True or #False Reverses the ordering of the tabs.
#TabBarGadget_ScrollPosition Position (in tabs) The position of first visible tab.
#TabBarGadget_SelectedCloseButton #True or #False A small cross on every selected tab to close the tab.
#TabBarGadget_TabTextAlignment -1, 0 or 1 Alignment of the text in a tab (left, center, right).
#TabBarGadget_TabRounding Radius (in pixel) The radius of the rounding of each tab.
#TabBarGadget_TextCutting #True or #False Text cutting, if tab bar space is too small.
#TabBarGadget_Vertical #True or #False Rotate the whole bar vertical.
Example: Vertical or mirrored tab bar

See also

Union Bytes | Login