FMX.Types.IControl.MouseUp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual void __fastcall MouseUp(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types IControl

Description

Provides a response when the mouse button previously pressed is released while the cursor is over the control.

Implement MouseUp to provide a certain behavior when the mouse button previously pressed is released while the cursor is over the control.

The Button parameter determines which mouse button was previously pressed: left, right, or middle.

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

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

TControl implements this procedure as an OnMouseUp event dispatcher.

See Also