ListBox-SelectItem

Function Name dcl-ListBox-SelectItem
Syntax   (dcl-ListBox-SelectItem <CONTROL> ItemIndex [as Long] {Select [as Boolean]})
Return Type Boolean (T if successful; otherwise NIL)
Applies To List Box

This method selects or deselects the item at ItemIndex. If Select is T, the item is selected; otherwise it is deselected. This method does not work for single-selection lists (see SelectionStyle).