ListBox Methods (Typed) |
|
The ListBox type exposes the following members.
| Name | Description | |
|---|---|---|
| AddItem |
Add a new item to a list box at a specified position.
(Overrides AddItem(Usual, Usual, Usual).) | |
| ChangeSelected |
Change a range of items in a multiple selection list box to a specified selection.
| |
| Clear | (Overrides Clear.) | |
| ClearSelection |
Clear a multiple selection list box of all selections.
| |
| DeleteItem |
Remove an item from a list box.
(Overrides DeleteItem(Long).) | |
| DeselectItem |
Turn off the selection of a specified item in a list box.
| |
| EnableItemDrag |
Turn the list box into a drag list box.
| |
| FillUsing |
Specify the set of values to be displayed in the list box, using an array or a data server. These values act as a constraint on the values that may be entered in the list box, and optionally as a translation between program values and display values.
| |
| FillUsingBySortedList |
Specify the set of values to be displayed in the list box, using an array or a data server. These values act as a constraint on the values that may be entered in the list box, and optionally as a translation between program values and display values.
| |
| FirstSelected |
Returns the position of the first item selected in a multiple selection list box, or 0 if no item is selected.
| |
| GetOptimalWidth | ||
| IsSelected |
Determine if the list box item at the specified index position is selected.
| |
| ListFiles | Obsolete.
Fill a list box with the names of all files that match the specified path or file name.
| |
| NextSelected |
After calling ListBox:FirstSelected(), this method is used to cycle through the remaining items selected in a multiple selection list box.
| |
| SelectItem |
Turn on the selection of an item in a list box.
| |
| SetTabs |