FMX.Controls.Presentation.TFirstControlWithGestureInfo
Delphi
TFirstControlWithGestureInfo = record
C++
struct DECLSPEC_DRECORD TFirstControlWithGestureInfo
{
public:
Fmx::Types::TInteractiveGesture Gestures;
System::Classes::TComponent* Control;
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | FMX.Controls.Presentation.pas FMX.Controls.Presentation.hpp |
FMX.Controls.Presentation | FMX.Controls.Presentation |
Description
Information for the data exchange between TPresentedControl.GetFirstControlWithGesture and TStyledPresentation.PMGetFirstControlWithGesture.
TPresentedControl.GetFirstControlWithGesture creates an instance of TFirstControlWithGestureInfo, fills its Gestures field with a target interactive gesture, and sends a PM_GET_FIRST_CONTROL_WITH_GESTURE message containing that instance of TFirstControlWithGestureInfo.
The message reaches the PMGetFirstControlWithGesture method of instances of TStyledPresentation. When the message reaches an instance of TStyledPresentation that contains the specified interactive gesture among the interactive gestures of its touch manager, that instance of TStyledPresentation fills the Control field of the received TFirstControlWithGestureInfo record with a reference to itself, and returns the TFirstControlWithGestureInfo record.