FMX.Gestures.TGestureManager.AddRecordedGesture
Delphi
function AddRecordedGesture(const Item: TCustomGestureCollectionItem): TGestureID; override;
C++
virtual Fmx::Types::TGestureID __fastcall AddRecordedGesture(Fmx::Types::TCustomGestureCollectionItem* const Item)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TGestureManager |
Description
Adds a newly recorded gesture to the gesture manager.
The AddRecordedGesture method adds a TCustomGestureCollectionItem and returns the TGestureID for that gesture.
Note: The recoded gestures must be unique. If a second attempt to add a gesture that is already managed by the TGestureManager is made, a duplicate recorded gesture exception is thrown.