"activeRegister"

The active tab defined by the index.

Synopsis

setValue(string shape, "activeRegister", int idx);

getValue(string shape, "activeRegister", int &idx);

shape.activeRegister(int idx);

Parameters

Parameter Description
shape Name of the object
idx Tab index, starting with 0

Description

This attribute is used to set the active tab through the index "idx" (starting at 0) or to read the index of the active tab.

Example

Activates the 2nd tab.

main()
{
  reg.activeRegister(1);
  // 2nd tab
}

Assignment

Tab