Vcl.Samples.Spin.TTimerSpeedButton.MouseDown

From RAD Studio API Documentation
Jump to: navigation, search

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.Samples.Spin.pas
Vcl.Samples.Spin.hpp
Vcl.Samples.Spin TTimerSpeedButton

Description

OnMouseDown event dispatcher.

MouseDown is an OnMouseDown event dispatcher.

The Button parameter determines which mouse button the user pressed.

Shift indicates which shift keys (SHIFT, CTRL, or ALT) were down when the user pressed the mouse button.

X and Y are the pixel coordinates of the mouse pointer within the client area of the control.

When the mouse is down, TTimer becomes enabled.

See Also