"registerFixed"

Allows fixing the position of a tab element.

Synopsis

setValue(string shape, "registerFixed", int index, bool fixed);

shape.registerFixed(int index, boolfixed);

Parameter

Parameter Description
shape Name of the object
index Index of the tab element starting with 0
fixed

Boolean value that defines if the position is fixed or variable.

  • true => Position of the tab is fixed an tab is always displayed

  • false => Position of the tab element is variable

Description

The object property registerFixed allows defining whether the position of the tab is fixed or variable.

registerFixed can only be used if the scrollerType is set to "Popup"!

Example

In following example the first and second tabs get a fixed position.

main()
{
  tab1.registerFixed(0,1);
  tab1.registerFixed(1,1);
}

Assignment

Tab