API:FMX.Gestures.TGestureCollection.AddGesture

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

Delphi

function AddGesture: TCustomGestureCollectionItem; override;

C++

virtual Fmx::Types::TCustomGestureCollectionItem* __fastcall AddGesture();

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Gestures.pas
FMX.Gestures.hpp
FMX.Gestures TGestureCollection

説明

コレクションへのジェスチャの新規作成と追加を行います。

FMX.Gestures.TGestureCollection.AddGesture は FMX.Types.TCustomGestureCollection.AddGesture を継承しています。以下の内容はすべて FMX.Types.TCustomGestureCollection.AddGesture を参照しています。

コレクションへのジェスチャの新規作成と追加を行います。

AddGesture を下位クラスでオーバーライドして、コレクションへの適切なジェスチャの作成および追加を実装します。 AddGesture は、TCustomGestureCollectionItem オブジェクトを新規作成し、内部リストに追加してから呼び出し側に返します。

関連項目