property toggled

(r/w) bool toggled;

Typ

Zugriff

This property sets or returns the toggled state of this box. This is used for boxes that have a on/off state such as check boxes.
function OnClickCheckButton()
{
    // Determine if checkbox is checked or not.
    var box = shell.currentEventTargetBox;
    if (box)
    {
        shell.print("Tristate = " + box.tristate);
        shell.print("Toggled = " + box.toggled);
    }
}