"checked"
Switches the ToggleSwitch state to "on" or "off".
Synopsis
shape.checked(bool);
Parameters
Parameter | Description |
---|---|
bool |
TRUE = on FALSE = off |
Description
Switches the ToggleSwitch state to "on" or "off".
Example
In the following example the ToggleSwitch is switched on.
main()
{
this.checked(1);
}
Assignment
ToggleSwitch EWO