ListBox-FindString

Function Name dcl-ListBox-FindString
Syntax   (dcl-ListBox-FindString <CONTROL> Search [as String] {StartAfter [as Long]})
Return Type Long
Applies To List Box

This method performs a case insensitive search for an item in the list. The search matches any item that begins with Search. 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 match is found.