toggle

: toggle


Display a check box.     DCL Active Tile


This active tile displays a check box. When turned on, the check box contains a check mark and the value attribute returns 1. The text for the associated label attribute appears to the right of the box.

Valid Attributes

: toggle {

          action = "(string)";

          alignment = position;

          fixed_height = flag;

          fixed_width = flag;

          height = number;

          is_enabled = flag;

          is_tab_stop = flag;

          key = "string";

          label = "string";

          mnemonic = "char";

          value = "string";

          width = "string";

}

Example

: toggle {

action = "(osnap)";

label = "Object Snap Mode";

value = "1"

}

NOTE The value attribute indicates whether the check box is currently selected (indicated by a check mark), via the value of "1":

     value = "1"

Related DCL Tiles

button

edit_box

image_button

list_box

popup_list

radio_button

slider

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes