FMX.Controls.Presentation.TFirstControlWithGestureInfo
Delphi
TFirstControlWithGestureInfo = record
Gestures: TInteractiveGesture;
Control: TComponent;
end;
C++
struct DECLSPEC_DRECORD TFirstControlWithGestureInfo
{
public:
Fmx::Types::TInteractiveGesture Gestures;
System::Classes::TComponent* Control;
};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
record struct |
public | FMX.Controls.Presentation.pas FMX.Controls.Presentation.hpp |
FMX.Controls.Presentation | FMX.Controls.Presentation |
説明
TPresentedControl.GetFirstControlWithGesture と TStyledPresentation.PMGetFirstControlWithGesture の間で行われるデータ交換の情報です。
TPresentedControl.GetFirstControlWithGesture では、TFirstControlWithGestureInfo のインスタンスを作成し、その Gestures フィールドに対象となる対話型ジェスチャを設定したうえで、その TFirstControlWithGestureInfo インスタンスが格納された PM_GET_FIRST_CONTROL_WITH_GESTURE メッセージを送信します。
このメッセージは、TStyledPresentation のインスタンスの PMGetFirstControlWithGesture メソッドに届きます。タッチ マネージャの対話型ジェスチャのうち指定された対話型ジェスチャを含んでいる TStyledPresentation インスタンスに、このメッセージが届くと、その TStyledPresentation インスタンスでは、受け取った TFirstControlWithGestureInfo レコードの Control フィールドに自分自身への参照を格納し、その TFirstControlWithGestureInfo レコードを返します。