FMX.Gestures.IdentToGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IdentToGesture(const Ident: string; var ID: Integer): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IdentToGesture(const System::UnicodeString Ident, int &ID);

Properties

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

Description

Converts a string into the corresponding gesture ID.

IdentToGesture provides the underlying translation from string identifiers to gesture IDs. Ident is the string identifier to translate. ID is the gesture ID that will be obtained. The function returns a boolean value indicating whether the translation completed successfully.

IdentToGesture is used mostly internally to support proper VCL streaming.

Note: IdentToGesture only provides mapping for standard gestures.

See Also