Share
 
 

toggle Tile (DCL)

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

Supported Platforms: Windows, Mac OS, and Web

Windows
: toggle {
   actionalignmentfixed_heightfixed_widthheightis_enabledis_tab_stoplabelwidth 
}
Mac OS and Web
: toggle {
   actionalignmentfixed_heightfixed_widthheightis_enabledlabelwidth 
}

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

    Releases:

  • AutoCAD R12 and later on Windows
  • AutoCAD 2021 and later on Mac OS

Was this information helpful?