Vcl.Controls.TCustomGestureCollection.AddGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AddGesture: TCustomGestureCollectionItem; virtual; abstract;

C++

virtual TCustomGestureCollectionItem* __fastcall AddGesture() = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TCustomGestureCollection

Description

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.

See Also