DblClick Event

Applies To   See Also

Occurs when the user presses and releases the mouse button twice in quick succession.

Syntax

PROCEDURE Object.DblClick
[LPARAMETERS nIndex]

Arguments

nIndex

Uniquely identifies a control if it is in a control array.

Remarks

The DblClick event also occurs when you select an item in a list box or a combo box and press ENTER.

If DblClick doesn't occur within the system's double-click time limit, the object recognizes another Click event. Therefore, when you attach procedures for these related events, make sure that their actions do not conflict. Controls that don't receive DblClick events may receive two single clicks instead of a double-click.

Note   If the mouse has more than one button, you can distinguish between the left, right, and middle mouse buttons using the MouseDown and MouseUp events.