"namedRegisterFixed"

Allows to set a fixed position for a tab by using its name.

Synopsis

setValue(string shape, "namedRegisterFixed", string name, bool fixed);

shape.namedRegisterFixed(int index, boolfixed);

Parameter

Parameter Description
shape Name of the object
name Name of the tab
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 namedRegisterFixed allows defining whether the position of the tab is fixed or variable.

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

Example

In following example the tab with the name "firstTab" is set to a fixed position.

main()
{
  tab1.namedRegisterFixed("firstTab",1);
}

Assignment

Tab