FMX.Controls3D.TControl3D.MouseUp

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

void __fastcall MouseUp(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

OnMouseUp event dispatcher.

Override the protected MouseUp method to provide other responses in addition to calling the OnMouseUp event handler when the user releases a previously pressed mouse button while the cursor's hot spot is over the control.

A 3D control calls MouseUp in response to any mouse-up 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 released: left, right, or middle.

See Also