The ITEM tag defines one possible choice in a CONTROL with multiple choices.
This tag can occur only within a CONTROL tag with TYPE="DropDown", TYPE="ListBox" or TYPE="RadioGroup".
Item is used as part of a DropDown control, a ListBox control or a RadioGroup control; each item represents one possible choice.
<ITEM .../> | |
---|---|
VALUE | Value that will be returned when this item is selected. |
CAPTION | Text that is displayed to describe the choice. |
SELECTED |
FLAG. If specified, pre-selects the choice represented by this item. Note: if the ITEM is part of a ListBox control that has the MULTISELECT flag, SELECTED is not operational. |
<CONTROL TYPE="Label" NAME="lblAlign" WIDTH=50 CAPTION="Align:" ANCHOR="lblSource" CORNER="SW" DOWN=10/> <CONTROL TYPE="DropDown" NAME="dropAlign" WIDTH=100 ANCHOR="lblAlign" CORNER="NE"> <ITEM VALUE="TOP" CAPTION="TOP"/> <ITEM VALUE="MIDDLE" CAPTION="MIDDLE" SELECTED/> <ITEM VALUE="BOTTOM" CAPTION="BOTTOM"/> </CONTROL>