API:Vcl.Outline.TCustomOutline.MouseDown
Delphi
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
C++
DYNAMIC void __fastcall MouseDown(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
Description
Provides special processing when the user presses a mouse button.
Vcl.Outline.TCustomOutline.MouseDown inherits from Vcl.Grids.TCustomGrid.MouseDown. All content below this line refers to Vcl.Grids.TCustomGrid.MouseDown.
Provides special processing when the user presses a mouse button.
MouseDown hides the editor window so that it can move selection to the cell that receives the mouse click. If the mouse lands in the hot region for beginning a move or resize of a row or column, MouseDown starts the move or resize, and provides visual feedback by changing the cursor. If the editor window was hidden, it is brought back up in its new location. Finally, MouseDown generates an OnMouseDown event.