ComboBox_SelectString |

Funktionsname | dcl_ComboBox_SelectString
Syntax | `(dcl_ComboBox_SelectString <CONTROL> Search [as String] {StartIndex [as Long]})`
Rückgabewert | Long
Anwendbar auf | 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 at StartIndex and continues past the last item back to the first item until the entire list has been searched. If StartIndex 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.