FMX.Controls.Presentation.TFirstControlWithGestureInfo

提供: RAD Studio API Documentation
移動先: 案内検索

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.GetFirstControlWithGestureTStyledPresentation.PMGetFirstControlWithGesture の間で行われるデータ交換の情報です。

TPresentedControl.GetFirstControlWithGesture では、TFirstControlWithGestureInfo のインスタンスを作成し、その Gestures フィールドに対象となる対話型ジェスチャを設定したうえで、その TFirstControlWithGestureInfo インスタンスが格納された PM_GET_FIRST_CONTROL_WITH_GESTURE メッセージを送信します。

このメッセージは、TStyledPresentation のインスタンスの PMGetFirstControlWithGesture メソッドに届きます。タッチ マネージャ対話型ジェスチャのうち指定された対話型ジェスチャを含んでいる TStyledPresentation インスタンスに、このメッセージが届くと、その TStyledPresentation インスタンスでは、受け取った TFirstControlWithGestureInfo レコードの Control フィールドに自分自身への参照を格納し、その TFirstControlWithGestureInfo レコードを返します。

関連項目