multi_edit_box

: multi_edit_box


Display an edit box with more than one line.     DCL Active Tile


This active tile displays a multiline edit box tile, which allows the user to type additional lines of text. Text in the multi_edit_box tile is left-justified. The program appends the null character (\0) to the end of the string.

The multi_edit_box tile is unique to the implementation of DCL included with progeCAD.

Valid Attributes

: multi_edit_box {

          action = "(string)";

          alignment = position;

          allow_accept = flag;

          edit_limit = int;

          edit_width = number;

          fixed_height = flag;

          fixed_width = flag;

          height = number;

          is_enabled = flag;

          is_tab_stop = flag;

          key = "string";

          label = "string";

          lower_only = flag;

          mnemonic = "char";

          password_char = "char";

          read_only = flag;

          upper_only = flag;

          value = "string";

          width = number;

}

Example

: multi_edit_box {

          action = "(texted)";

          edit_limit = 40;

          key = "EB";

          label = "Type text: ";

          mnemonic = "T";

}     

NOTE

    • The label attribute is the multiline edit box's title; it is left-justified.
    • The value attribute holds the initial text displayed by the multiline edit box; is left-justified.
    • The following attributes are unique to the implementation of DCL included with progeCAD: lower_only, read_only, and upper_only.

Related DCL Tiles

button

image_button

list_box

popup_list

radio_button

slider

toggle

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes