"toggleState"

This function specifies the state of a toggle button.

Synopsis

setValue(string shape, "toggleState", bool);

shape.toggleState(bool);

Parameter

Parameter Description
shape Name of the object
bool

TRUE = The state of the button is ON.

FALSE = The state of the button is OFF.

Description

This function specifies the state of a toggle button.

Assignment

Button