TControl.WMXButtonDown procedure
Handles a LM_XBUTTONDOWN (extra mouse button down) message for the control.
Declaration
procedure WMXButtonDown(var Message: TLMXButtonDown); messageArguments
Message | Message examined and optionally handled in the method. |
Description
Checks the Keys member in Message to determine whether the first or second extra mouse button is represented in the structure. No actions are performed in the method if Keys does not represent the mbExtra1 or mbExtra2 mouse button.
Sets MouseCapture to True when enabled in the ControlStyle property and the mouse button is included in CaptureMouseButtons.
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.
