ComboBox-SetCurSel

Function Name dcl-ComboBox-SetCurSel
Syntax   (dcl-ComboBox-SetCurSel <CONTROL> ItemIndex [as Long])
Return Type Boolean (T if successful; otherwise NIL)
Applies To Combo Box

This method sets the currently selected item in the combo list box. An ItemIndex value of -1 deselects the current selection.