Sign in Join
FPDoc Onlineexperiment

TControl.WMLButtonDown procedure

Member of TControlprotectedIn unit Controls

Handles a LM_LBUTTONDOWN (left mouse button down) message for the control.

Declaration

pascal
procedure WMLButtonDown(var Message: TLMLButtonDown); message

Arguments

Message

Message handled in the method.

Description

Sets MouseCapture to True when enabled in the ControlStyle property and the left mouse button is included in CaptureMouseButtons. Includes csClicked in ControlState when click events have been enabled in the ControlStyle property.

Calls the DoMouseDown method to perform the mouse button event for the control, and to signal its OnMouseDown event handler (when assigned). No mouse down actions are performed when standard events are ignored by including csNoStdEvents in the ControlStyle property.

See also

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