[]
Adds an item to a list box or a combo box.
void AddItem(string text, int index = -1)
Sub AddItem(text As String, Optional index As Integer = -1)
Type | Name | Description |
---|---|---|
string | text | The text to be added. |
int | index | The position of the new entry. If the list has fewer entries than the specified index, blank items from the end of the list are added to the specified position. If this argument is omitted, the item is appended to the existing list. |