Vcl.Grids.TDrawGrid.OnMouseDown
Delphi
property OnMouseDown: TMouseEvent read FOnMouseDown write FOnMouseDown;
C++
__property OnMouseDown;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TDrawGrid |
Description
Occurs when the user presses a mouse button with the mouse pointer over a control. {{#multireplace:Vcl.Grids.TDrawGrid.OnMouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.Controls.TControl.OnMouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.Controls.TControl.OnMouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs when the user presses a mouse button with the mouse pointer over a control.
Use the OnMouseDown event handler to implement any special processing that should occur as a result of pressing a mouse button.
The OnMouseDown event handler can respond to left, right, or center mouse button presses and shift key plus mouse-button combinations. Shift keys are the SHIFT, CTRL, and ALT keys. X and Y are the pixel coordinates of the mouse pointer in the client area of the Sender.
OnMouseDown is an event handler of type Vcl.Controls.TMouseEvent.