FMX.Layouts.TPositionChangeEvent
Delphi
TPositionChangeEvent = procedure (Sender: TObject; const OldViewportPosition, NewViewportPosition: TPointF;
const ContentSizeChanged: Boolean) of object;
C++
typedef void __fastcall (__closure *TPositionChangeEvent)(System::TObject* Sender, const System::Types::TPointF &OldViewportPosition, const System::Types::TPointF &NewViewportPosition, const bool ContentSizeChanged);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | FMX.Layouts |
Description
The method pointer type used to define OnViewportPositionChange events.
Event handlers of the TPositionChangeEvent type have the following parameters:
Parameter | Description |
---|---|
Sender
|
The FMX control that called the event handler. |
OldViewportPosition
|
The initial viewport position having the TPointF type. |
NewViewportPosition
|
The final viewport position having the TPointF type. |
ContentSizeChanged
|
Whether the content size is changed. |