FMX.Controls.TControl.OnMouseDown

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property OnMouseDown: TMouseEvent read FOnMouseDown write FOnMouseDown;

C++

__property Fmx::Types::TMouseEvent OnMouseDown = {read=FOnMouseDown, write=FOnMouseDown};

Properties

Type Visibility Source Unit Parent
event public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Occurs when a mouse button is pressed over a control.

OnMouseDown also occurs when MouseDown is called.

Write an event handler for OnMouseDown to specify what happens when one of the mouse buttons is pressed over the control.

See Also