API:Vcl.Touch.GestureMgr.TGestureCollection.AddGesture
Delphi
function AddGesture: TCustomGestureCollectionItem; override;
C++
virtual Vcl::Controls::TCustomGestureCollectionItem* __fastcall AddGesture();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Touch.GestureMgr.pas Vcl.Touch.GestureMgr.hpp |
Vcl.Touch.GestureMgr | TGestureCollection |
Description
Creates and adds a new gesture to the collection.
Vcl.Touch.GestureMgr.TGestureCollection.AddGesture inherits from Vcl.Controls.TCustomGestureCollection.AddGesture. All content below this line refers to Vcl.Controls.TCustomGestureCollection.AddGesture.
Creates and adds a new gesture to the collection.
Override AddGesture in descending classes to implement proper creation and adding of a gesture to the collection. AddGesture creates a new TCustomGestureCollectionItem object, adds it to the internal list, and then returns it to the caller.