
This method finds the first string in a ListBox that contains the specified prefix and selects this list item in the ListBox.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ListBox_SelectString MyControlReference [as Reference] sSearchString [as String] ) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_ListBox_SelectString ProjectFile [as String] DialogName [as String] ControlName [as String] sSearchString [as String] ) |
Copy Code |
|---|
; Search and select this item (Odcl_ListBox_SelectString MyProject_MyForm_MyControl "Grapefruit") |