Vcl.Touch.GestureMgr.TGestureManager.AddRecordedGesture
Delphi
function AddRecordedGesture(Item: TCustomGestureCollectionItem): TGestureID; override;
C++
virtual Vcl::Controls::TGestureID __fastcall AddRecordedGesture(Vcl::Controls::TCustomGestureCollectionItem* Item)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Touch.GestureMgr.pas Vcl.Touch.GestureMgr.hpp |
Vcl.Touch.GestureMgr | 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.