AddSelection
AddSelection()
Used to select items in an extended or multiple selection list box
Applies to: List Box
AddSelection(iIndex)
Used to select all items in a multiple or extended selection list box
iIndex | Integer |
---|
Applies to: List Box
In a multiple selection or extended selection list box, this method will add item with the specified index to the selection. For example:
.listControl1.AddSelection(2)
If no value is specified then all items in the list are selected.
To remove all current selections use the SetSelection() method without any parameters.