Sign in Join
FPDoc Onlineexperiment

TControl.DblClick procedure

Member of TControlprotectedIn unit Controls

Signals the OnDblClick event handler (when assigned).

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.