API:FMX.Gestures.TGestureCollection.FindGesture

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

Delphi

function FindGesture(AGestureID: TGestureID): TCustomGestureCollectionItem; overload; override;
function FindGesture(const AName: string): TCustomGestureCollectionItem; overload; override;

C++

virtual Fmx::Types::TCustomGestureCollectionItem* __fastcall FindGesture(Fmx::Types::TGestureID AGestureID)/* overload */;
virtual Fmx::Types::TCustomGestureCollectionItem* __fastcall FindGesture(const System::UnicodeString AName)/* overload */;

プロパティ

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

説明

指定された ID を持つジェスチャをコレクションの中から見つけます。

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

指定された ID を持つジェスチャをコレクションの中から見つけます。

ID によるコレクションからの適切なジェスチャ検索を実装するには、下位クラスで FindGesture をオーバーライドします。FindGesture は、ジェスチャが見つかった場合は TCustomGestureCollectionItem インスタンスを返し、ID に一致するものが見つからなかった場合は nil を返す必要があります。

関連項目