User Guide
160
Label example
<CONTROL NAME="lblSource" TYPE="Label" CAPTION="Source:" DOWN=17 RIGHT=10
WIDTH=50/>
TextBox control
The following table describes the Text Box control.
TRANSPARENT YES/NO. Makes label transparent.
ALIGN LEFT/CENTER/RIGHT. Specifies the horizontal alignment of text in the
label.
VALIGN TOP/CENTER/BOTTOM. Specifies the vertical alignment of text in the label.
<CONTROL TYPE="Label" …/>
<CONTROL TYPE="TextBox" …/>
A simple textbox control.
VALUE The text displayed by the text box.
AUTOSIZE YES/NO. Automatically sizes the control to the text it contains.
This option is overridden if WIDTH or HEIGHT are explicitly
specified.
EDITABLE YES/NO. Enables or disables editing.
AUTOSELECT YES/NO. Decides whether contents get highlighted when the
cursor enters the text box.
MAXLENGTH Limits the amount of text in the text box to a specific number of
characters.
PASSWORDCHAR A character to be used to mask entered text. You can create a
simple password box using PASSWORDCHAR="*".
ALLOWDECIMALPOINT YES/NO. Indicates whether an entered number can contain a
decimal point.
ALLOWNEGATIVE YES/NO. Indicates whether an entered number can be negative.