Vcl.Touch.Gestures.IdentToGesture
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 | Vcl.Touch.Gestures.pas Vcl.Touch.Gestures.hpp |
Vcl.Touch.Gestures | Vcl.Touch.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.