edit_width = number;


Define the width of the input section of an edit box.


This attribute specifies the width (in characters) of the text entry portion in an edit box. The text entry box is right-justified.

For number, use a real number or an integer.

NOTE Typically, the edit_width attribute is different from the value of the edit_limit attribute, which sets the maximum number of characters the user can type in an edit box. Setting the value of edit_limit to be larger than that of edit_width allows the user to type additional characters beyond what the width of the edit_box accommodates. In that case, not all characters in the input string are necessarily displayed all at once. The horizontal direction arrows allow scrolling to the beginning or end of the input.

Example

edit_width = 0;

NOTE The default value of the edit_width attribute is 0.0, which stretches the dialog box to fit the required space.

Valid Tiles

edit_box

multi_edit_box

popup_list

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes