ToggleGroup

User-defined name for a group. Only one control in this group can be active. If another button is pressed with this ToggleGroup, all other buttons are deactivated.

A ToggleGroup can consist of controls of type Toggle Button and Checkbox from version 1.10.

Please note that this ToggleGroup is global. If several ToggleButtons are used in one UserControl and this UserControl is used several times, only one ToggleButton is active. If one ToggleButton should be active per UserControl in this constellation, the attribute of the buttons can be set via one UserControlParameter per instance of the UserControl. A binding from the UserControlParameter to all ToggleButtons must then be set manually within the UserControl.

Schema: tchmi:general#/definitions/String

Attribute getter

public getToggleGroup(): string | null;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string, null

The current value of the attribute.

Attribute setter

public setToggleGroup(valueNew: string | null): void;

Parameter

Name

Type

Description

valueNew

string, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

ToggleGroup 1:

Available from 1.8