Vcl.Touch.GestureMgr.TGestureManager.FindCustomGesture
Delphi
function FindCustomGesture(AGestureID: TGestureID): TCustomGestureCollectionItem; override;
function FindCustomGesture(const AName: string): TCustomGestureCollectionItem; override;
C++
virtual Vcl::Controls::TCustomGestureCollectionItem* __fastcall FindCustomGesture(Vcl::Controls::TGestureID AGestureID)/* overload */;
virtual Vcl::Controls::TCustomGestureCollectionItem* __fastcall FindCustomGesture(const System::UnicodeString AName)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Touch.GestureMgr.pas Vcl.Touch.GestureMgr.hpp |
Vcl.Touch.GestureMgr | TGestureManager |
Description
Returns a recorded or a registered gesture managed by the gesture manager component.
FindCustomGesture calls the FindGesture and searches through recorded gestures. If unsuccessful, FindCustomGesture then searches through registered gestures. The function returns a TCustomGestureCollection instance with the located element, or nil if the search failed.
The function has two forms, depending on the search criteria--by the gesture's name (string) or its GestureID (TGestureID).