<textbox> Element
The <textbox> element creates text box and multi-line text box controls. The element can have the following child elements:
<script>, <value>
The <textbox> element has the following attributes:
• backgroundcolor = CDATA
Specifies the color to use in drawing the control's background. Values can be the standard HTML named colors plus the Arbortext colors gray1, gray2, gray3, gray4, gray5. Colors can also be a string of a # followed by three two-digit hexadecimal numbers specifying the red, green, and blue (RGB) intensity values defining a color.
• disabled = true | false
Default is false. If true, the control ignores all user interface events directed toward the control.
• family = CDATA
Specifies the font family.
• fontposture = italic | upright
Default is upright. Specifies the control's font posture.
• fontsize = CDATA
Specifies the control's font size in points.
• fontstyle = monsanserif | monoserif | sanserif | serif
Default is sanserif. Specifies the control's font style.
• fontweight = bold | medium
Default is medium. Specifies the control's font weight.
• foregroundcolor = CDATA
Specifies the color to use in drawing the control's foreground. Values can be the standard HTML named colors plus the Arbortext colors gray1, gray2, gray3, gray4, gray5. Colors can also be a string of a # followed by three two-digit hexadecimal numbers specifying the red, green, and blue (RGB) intensity values defining a color.
• height = CDATA
Number specifying the height in pixels to allocate for this control.
• helpid = CDATA
Number specifying the help topic to display for this control.
• hidden = true | false
Default is false. If true, the space for the control is allocated, but the control itself is not displayed.
• id = ID
Identifies the control.
• maxlength = CDATA
Specifies the maximum amount of characters within the edit field.
• multiline = true | false
Default is false. If true, the edit field may wrap.
• readonly = true | false
Default is false. If true, the current value of the item cannot be modified.
• resize = none | both | height | width | natural
Default is natural. If width, the control allows horizontal resizing only. If height, the control allows vertical resizing only. If both, the control allows resizing in both directions. If none, the control doesn't resize in either direction.
If natural, the control is horizontally resizeable. If multiline = true, the control is also vertically resizeable.
• statustext = CDATA
Specifies the text to display in status windows.
• tiptext = CDATA
Specifies the text to display as context-sensitive help for this control.
• type = normal | password
Default is normal. If normal, the content of the value child element is displayed as entered. If password, the content of the value child element is displayed as asterisks.
• wantreturn = true | false
(Multi-line text boxes only.) Default is true. If true, a carriage return is inserted when the user presses the Enter key while entering text. If false, pressing the Enter key has the same effect as clicking on the dialog box's default control. This value is ignored when set for single-line text boxes.
• width = CDATA
Number specifying the width in pixels to allocate for this control.
• withdraw = true | false
Default is false. If true, the control (and any children) is ignored and not displayed.