FMX.Gestures.TGestureManager.RegisterGesture
Delphi
class function RegisterGesture(const AGesture: TCustomGestureCollectionItem): TGestureID; static;
C++
static Fmx::Types::TGestureID __fastcall RegisterGesture(Fmx::Types::TCustomGestureCollectionItem* const AGesture);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TGestureManager |
Description
Method used for registering a gesture.
RegisterGesture is used for registering a gesture. The gesture is specified by the AGesture parameter. Also, all the controls managed by the TGestureManager class will be notified of the newly registered gesture.
Note: In case of too many registered gestures, an STooManyRegisteredGestures exception is raised.