: list_box {
actionâalignmentâallow_acceptâfixed_heightâ
fixed_widthâheightâis_enabledâis_tab_stopâ
keyâlabelâlistâmnemonicâmultiple_select tabs
valueâwidth
}
A list box contains a list of text strings, arranged in rows. Usually the list is of variable length, but list boxes can be used for fixed-length lists when a different kind of tile, such as a set of radio buttons, takes up too much space in the dialog box. When users select a row, it is highlighted. A list box can contain more rows than can fit in the box, so a scroll bar always appears to the right of the list box. (The scroll bar is enabled only if the list has more items than can appear at once.) By dragging the scroll bar cursor or clicking on its arrows, users can scroll through the list box items. Some applications may allow users to select multiple rows.
List Boxes and Pop-Up Lists for instructions on how to manage lists for list boxes and pop-up lists.
SeeText displayed above the list box.
"") or more integers, separated by spaces (no default). Each integer is a zero-based index that indicates a list item that is initially selected. If multiple_select is false, value cannot contain more than one integer.
A quoted string containing zero (""), then no items in the list are initially selected. In this case, you don't need to specify the value attribute at all.
If the value string is empty (