[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles a LM_XBUTTONDOWN (extra mouse button down) message for the control.
Source position: controls.pp line 1353
protected procedure TControl.WMXButtonDown( |
var Message: TLMXButtonDown |
); message; |
Message |
|
Message examined and optionally handled in the method. |
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 private 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.
|
Style flags, specifying whether the control responds to mouse clicks, can be re-sized, has particular actions, etc. |
|
|
True when mouse messages are currently captured by this control. |
|
|
Which mouse button(s) to be used for capture? Default is the left button. |
|
|
Handler for MouseDown events. |
|
|
Event handler for mouse button going down. |
|
|
Enumeration of recognized mouse buttons. |
lazarus-ccr.sourceforge.net |