Vcl.Controls.TCustomGestureManager.FindCustomGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindCustomGesture(AGestureID: TGestureID): TCustomGestureCollectionItem; overload; virtual; abstract;
function FindCustomGesture(const AName: string): TCustomGestureCollectionItem; overload; virtual; abstract;

C++

virtual TCustomGestureCollectionItem* __fastcall FindCustomGesture(TGestureID AGestureID) = 0 /* overload */;
virtual TCustomGestureCollectionItem* __fastcall FindCustomGesture(const System::UnicodeString AName) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TCustomGestureManager

Description

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.

See Also