Occurs when the user double-clicks the DBCombo control with the mouse button.
Syntax
Private Sub object_DblClick ( [index As Integer,] Area As Integer)
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
index | An integer that uniquely identifies a control if it's in a control array. |
Area | An integer expression that specifies where the control was double clicked, as described below. |
The Area parameter can contain the following values:
Constant | Value | Description |
dbcAreaButton | 0 | The user double-clicked the button on the DBCombo control. |
dbcAreaEdit | 1 | The user double-clicked in the text box part of the DBCombo control. |
dbcAreaList | 2 | The user double-clicked in the list part of the DBCombo control. (This only occurs when the Style property is set to 1) |
Remarks
You can use a DblClick event procedure for an implied action or use it to carry out multiple steps with a single action.
If DblClick doesn't occur within the system's double-click time limit, the object recognizes another Click event. The double-click time limit may vary because the user can set the double-click speed in the Control Panel.
Note To distinguish between the left, right, and middle mouse buttons, use the MouseDown and MouseUp events.