Condividi tramite


DblClick Event

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

PROCEDURE Object.DblClick
[LPARAMETERS nIndex]

Parameters

  • 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.

See Also

Click Event | MouseDown Event | MouseUp Event

Applies To: CheckBox Control | ComboBox Control | CommandGroup Control | Container Object | Control Object | EditBox Control | Form Object | Grid Control | Header Object | Image Control | Label Control | Line Control | ListBox Control | OptionButton Control | OptionGroup Control | Page Object | PageFrame Control | Shape Control | Spinner Control | TextBox Control | ToolBar Object