FMX.Types.TCustomTouchManager.FindGesture
Delphi
function FindGesture(AGestureID: TGestureID): TCustomGestureCollectionItem; overload;
function FindGesture(const AName: string): TCustomGestureCollectionItem; overload;
C++
TCustomGestureCollectionItem* __fastcall FindGesture(TGestureID AGestureID)/* overload */;
TCustomGestureCollectionItem* __fastcall FindGesture(const System::UnicodeString AName)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TCustomTouchManager |
Description
Finds the collection item holding a gesture given by the ID.
Use FindGesture to perform a lookup on a collection item holding a gesture given by an ID and associated with the control owning this TCustomTouchManager instance. FindGesture is expected to return a TCustomGestureCollectionItem instance if the gesture was found, and nil if the ID was not found or the control does not have a gesture with that ID associated with it.