FMX.Objects.TSelectionPoint.MouseUp
Delphi
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
C++
virtual 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.Objects.pas FMX.Objects.hpp |
FMX.Objects | TSelectionPoint |
Description
Handles release of the left mouse button pressed inside the TSelectionPoint object.
MouseUp calls the FMX.Controls.TControl.OnMouseUp and the OnChange event handlers, and releases mouse capturing from the TSelectionPoint object.
MouseUp has the following parameters:
Button
--belongs to the TMouseButton type and specifies the pressed mouse button:mbLeft
--left,mbRight
--right, ormbMiddle
--middle.Shift
--belongs to the [[System.Classes.TShiftState|TShiftState] type and passes additional information, such as whether shift keys (ssShift
--SHIFT,ssCtrl
--CTRL, orssAlt
--ALT) were down when the pressed mouse button was released.X
andY
--are the local pixel coordinates of the mouse pointer within the TSelectionPoint object.
The TForm form, owner of the TSelectionPoint object, calls MouseUp in response to mouse-up messages.
Override the public MouseUp method to provide a customized response when the mouse button is released while the mouse pointer is over the TSelectionPoint object.