API: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.
Vcl.Touch.GestureMgr.TGestureManager.FindCustomGesture inherits from Vcl.Controls.TCustomGestureManager.FindCustomGesture. All content below this line refers to Vcl.Controls.TCustomGestureManager.FindCustomGesture.
Returns a recorded or a registered gesture managed by the gesture manager component.
Override FindCustomGesture in descending classes to implement a proper lookup of collection items holding recorded or registered gestures given an ID or a name. FindCustomGesture is expected to return a TCustomGestureCollectionItem instance if the gesture was found, and nil if the ID or the name was not found in the gesture manager.