Simulates a user selection in the combo box.
This method, if successful, triggers an item event of type et_COMBO_SELECT.
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 _ ) |
The value to be selected. Select the value by supplying one of the following:
| Value | Description |
|---|---|
| psk_ByValue | By item value |
| psk_ByDescription | By item description |
| psk_Index | By item index |
The search type (default is by value)