Class: ButtonGroup

OM.control. ButtonGroup

The ButtonGroup class defines a group of buttons. Within the group
only one button can be in the enabled or active (DOWN) state. Activating a button will
automatically deactivate or disable other buttons in the group.


new ButtonGroup()

Returns:

The newly created ButtonGroup object.

Type
OM.control.ButtonGroup

Methods


add(btObject)

Add a tool button object to a button group.

Parameters:
Name Type Description
btObject ToolButton

The button object to be added to the group.

Returns:
Type
void