The AListBox displays a list of string items from which the user can select one or more. Items can be added, deleted, inserted, selected, or read from the AListBox using the control methods.
The AListBox appears as a rectangle containing a list of strings. A scroll bar is added when necessary. If no item is selected, the ListIndex property value is -1. The first item in the list is ListIndex 0, and the value of the ListCount property is always one more than the largest ListIndex value.
| Text | |||
| TopIndex | |||
| TabPositionsCount |
|
|
|||
|
|||
|
The AListBox control offers one or more selections from a list of choices, whereas the AComboBox allows only one selection from a list of choices.