PyCListBox.SelectString

SelectString(after, string)

Searches for a list-box item that matches the specified string, and selects it.

Parameters

after : int

Contains the zero-based index of the item before the first item to be searched, or -1 for the entire listbox.

string : string

The string to search for.

MFC References

CListBox::SelectString

Return Value

The return value is always None - an exception is raised if the string can not be located.