FMX.Forms.TForm.OnMouseDown

From RAD Studio API Documentation

Delphi

property OnMouseDown: TMouseEvent read FOnMouseDown write FOnMouseDown;

C++

__property OnMouseDown;

Properties

Type Visibility Source Unit Parent
event published
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TForm

Description

Occurs when a mouse button is pressed over the form. {{#multireplace:FMX.Forms.TForm.OnMouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Forms.TCommonCustomForm.OnMouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Forms.TCommonCustomForm.OnMouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs when a mouse button is pressed over the form.

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 form.

See Also