toggle Tile (DCL)

A toggle appears as a small box with an optional label to the right of the box.

Supported Platforms: Windows and Mac OS

Windows
: toggle {
   action alignment fixed_height fixed_width 
   height is_enabled is_tab_stop label width 
}
Mac OS
: toggle {
   action alignment fixed_height fixed_width 
   height is_enabled label width 
}

A toggle controls a Boolean value ("0" or "1"). A check mark or X appears (or disappears) when the user selects the box. Toggles enable the user to view or change the state of on/off options. Toggles are also known as check boxes.

label

The text displayed to the right of the toggle box.

value

A quoted string containing an integer (default: "0") and specifying the initial state of the toggle. If the string is "0", the toggle box is blank (without a check mark). If it is "1", the box contains a check mark (or an X).

Release Information