Vcl.Controls.TCustomGestureManager.AddRecordedGesture
Delphi
function AddRecordedGesture(Item: TCustomGestureCollectionItem): TGestureID; overload; virtual; abstract;
C++
virtual TGestureID __fastcall AddRecordedGesture(TCustomGestureCollectionItem* Item) = 0 /* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TCustomGestureManager |
Description
Adds a newly recorded gesture to the gesture manager.
Override AddRecordedGesture in descending classes to implement support for adding newly recorded gestures to the gesture manager component.
The first variant of the AddRecordedGesture method actually creates a new TCustomGestureCollectionItem instance, adds it into the internal list, and returns it to the caller.
The second variant of the AddRecordedGesture method expects an already created TCustomGestureCollectionItem item.