ListBox.Find (gb.qt4)

Function Find ( Text As String [ , Mode As Integer ] ) As Integer

Finds an element in the ListBox and returns its index.

If the element cannot be found, returns -1.

See Predefined Constants for comparison constants to use with Mode parameter.