SetSelected Method
Object List Next Object
Defined By: Indented List
Description:
This method changes the selection state of the item at the given index
according to the value of the "sel" parameter. If "sel" is TRUE, the item will be
selected. If "sel" is FALSE, the item will be deselected. If the ListBox is a
single-selection list, and SetSelected changes the selected item, then a Click event
is generated.
Declaration:
Sub SetSelected(ByVal index As Integer, ByVal sel As Long)
See Also:
MultiSelect property, SelCount property, Selected method,