[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TControl.DblClick

Signals the OnDblClick event handler (when assigned).

## Declaration

Source position: controls.pp line 1483

`protected procedure TControl.DblClick; virtual;`

## Description

DblCLick is a method used to perform actions needed when a mouse double click event has occurred on the control. In TControl, it signals the OnDblClick event handler (when assigned) using the class instance as the Sender argument in the event type.

Descendent classes may override the method to perform additional actions needed in the their implementations.

DblClick is called from the WMLButtonDBLCLK method when the LM_LBUTTONDBLCLK window message is handled for the control.

## See also

TControl.OnDblClick |  | Event handler signalled when a mouse double click occurs in the control.
TControl.WMLButtonDBLCLK |  | Handles a left mouse button double click message for the control.
TNotifyEvent