FMX.Controls3D.TControl3D.MouseDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single);

C++

void __fastcall MouseDown(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls3D.pas
FMX.Controls3D.hpp
FMX.Controls3D TControl3D

Description

OnMouseDown event dispatcher.

Override the protected MouseDown method to provide other responses in addition to calling the OnMouseDown event handler when the user presses a mouse button while the cursor's hot spot is over the control.

A 3D control calls MouseDown in response to any mouse-down events, decoding the message parameters into the shift key state and position, which it passes in the Shift, X, and Y parameters, respectively. The value of the Button parameter indicates which mouse button was pressed: left, right, or middle.

See Also