Vcl.Controls.TDockTree.MouseDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MouseDown(Button: TMouseButton; Shift: TShiftState;
X, Y: Integer; var Handled: Boolean); virtual;

C++

virtual void __fastcall MouseDown(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y, bool &Handled);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDockTree

Description

MouseDown is called when the user presses a mouse button.

Override the protected MouseDown method to provide a response when the user presses the mouse button while the cursor is over the TDockTree object.

The Button parameter determines which mouse button was pressed. Shift indicates whether the shift keys (SHIFT, CTRL, ALT) are pressed. X and Y are the pixel coordinates of the mouse cursor within the client area of the control. Handled is used to prevent the control from receiving the message.

See Also