<CONTROL TYPE="TextBox" .../> (Continued)
CHARCASE
VALIGN
TextBox example
<CONTROL NAME="lblSource" TYPE="Label" CAPTION="Source:" DOWN=17 RIGHT=10
DropDown control
The following table describes the DropDown control.
<CONTROL TYPE="DropDown" .../>
A drop-down list box. This tag requires <ITEM> subtags, which specify the list of items in the
drop-down list. The item tag has CAPTION and VALUE attributes. CAPTION specifies the
visible item text while VALUE specifies the underlying value for the option. SELECTED
attribute specifies which item is initially selected. When free-text is entered into an EDITABLE
DropDown, the actual text is considered to be the value of the control.
Example:
<CONTROL NAME="dropTagOptions" TYPE="DropDown" WIDTH="200">
<ITEM CAPTION="option1" VALUE="Value1"/>
<ITEM CAPTION="option2" VALUE="Value2" SELECTED/>
<ITEM CAPTION="option3" VALUE="Value3"/>
</CONTROL>
EDITABLE
NORMAL/UPPER\LOWER. Specifies whether entered text is
automatically uppercase or lowercase. The default is NORMAL,
preserving the entered case.
TOP/CENTER/BOTTOM. Vertical alignment of text in the label.
WIDTH=50/>
<CONTROL NAME="txtSource" TYPE="TextBox" VALUE="Some Value"
ANCHOR="lblSource" CORNER="NE" WIDTH="MAXIMUM"/>
The EDITABLE attribute specifies either editable combo-box or drop-down
list behavior.
161
Need help?
Do you have a question about the COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO and is the answer not in the manual?
Questions and answers