FMX.Types.TCustomGestureManager.AddRecordedGesture
Delphi
function AddRecordedGesture(const Item: TCustomGestureCollectionItem): TGestureID; overload; virtual; abstract;
C++
virtual TGestureID __fastcall AddRecordedGesture(TCustomGestureCollectionItem* const Item) = 0 /* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | 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.