API:FMX.Gestures.TGestureCollection.GetUniqueGestureID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetUniqueGestureID: TGestureID; override;

C++

virtual Fmx::Types::TGestureID __fastcall GetUniqueGestureID();

Properties

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

Description

Returns a new unique ID that can be assigned to a custom gesture.

FMX.Gestures.TGestureCollection.GetUniqueGestureID inherits from FMX.Types.TCustomGestureCollection.GetUniqueGestureID. All content below this line refers to FMX.Types.TCustomGestureCollection.GetUniqueGestureID.

Returns a new unique ID that can be assigned to a custom gesture.

Override GetUniqueGestureID in descending classes to implement proper lookup and generation of unique IDs that are assigned to all new gestures. GetUniqueGestureID returns a TGestureID value holding the unique ID.

See Also