Share
 
 

edit_box Tile (DCL)

An edit box is a field that enables the user to enter or edit a single line of text.

Supported Platforms: Windows, Mac OS, and Web

Windows
: edit_box {
   actionalignmentallow_acceptedit_limitedit_widthfixed_heightfixed_widthheightis_enabledis_tab_stopkeylabelmnemonicvaluewidthpassword_char
}
Mac OS and Web
: edit_box {
   actionalignmentfixed_height
   fixed_widthheightis_enabled
   keylabelvaluewidth
}

An optional label can appear to the left of the box. If the entered text is longer than the length of the edit box, the edit box scrolls horizontally.

Left-justifying the label and right-justifying the edit box makes it easier to align edit_box tiles vertically.

label

Appears as a title. If specified, the label is left-justified within the width of the edit_box tile.

value

The initial ASCII value placed in the box. It is displayed left-justified within the edit (input) part of the box. The value of an edit box is terminated by the null character. If the user enters more characters than the edit_limit and the string is truncated, the null character is appended.

Release Information

    Releases:

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

Was this information helpful?