ImageComboBox-SelectString

Function Name dcl-ImageComboBox-SelectString
Syntax   (dcl-ImageComboBox-SelectString <CONTROL> Search [as String] {StartAfter [as Long]})
Return Type Long
Applies To Image Combo Box

This method performs a case insensitive search for an item in the combo box list that begins with Search, and changes the current selection to the first matching item if one is found. The search starts with the item after StartAfter and continues past the last item back to the first item until the entire list has been searched. If StartAfter is not specified, the search begins with the first item in the list. The return value is the index (zero based) of the first matching item, or -1 if no item is found.