FMX.Gestures.TGestureCollection.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add: TGestureCollectionItem;

C++

HIDESBASE TGestureCollectionItem* __fastcall Add(void);

Properties

Type Visibility Source Unit Parent
function public
FMX.Gestures.pas
FMX.Gestures.hpp
FMX.Gestures TGestureCollection

Description

Creates a new TGestureCollection Item instance and adds it to the Items array.

Add creates a new TGestureCollection Item instance and adds it to the Items array.

Call Add to create an item in the collection. The new item is placed at the end of the Items array. A new unique GestureID is created for the new item.

Add returns the new collection item.

See Also