| Select Method | |
| See Also |
- Index
The value to be selected. Select the value by supplying one of the following:
- The index of the valid value, 0-based (long integer)
- The value to be selected or its description (string)
- SearchKey
The search type (default is by value)
Simulates a user selection in the combo box.
This method, if successful, triggers an item event of type et_COMBO_SELECT.
| Visual Basic |
|---|
Public Sub Select( _
ByVal Index As Variant, _
Optional ByVal SearchKey As BoSearchKey = psk_ByValue _
) |
- Index
The value to be selected. Select the value by supplying one of the following:
- The index of the valid value, 0-based (long integer)
- The value to be selected or its description (string)
- SearchKey
Value Description psk_ByValue By item value psk_ByDescription By item description psk_Index By item index The search type (default is by value)