ListBox_SelectString |

Funktionsname | dcl_ListBox_SelectString
Syntax | `(dcl_ListBox_SelectString <CONTROL> Search [als String] {StartIndex [als Long]})`
Rückgabewert | Long
Anwendbar auf | List 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.