FMX.Gestures.TGestureManager.SelectGesture
Delphi
function SelectGesture(const AControl: TComponent; AGestureID: TGestureID): Boolean; override;
function SelectGesture(const AControl: TComponent; const AName: string): Boolean; override;
C++
virtual bool __fastcall SelectGesture(System::Classes::TComponent* const AControl, Fmx::Types::TGestureID AGestureID)/* overload */;
virtual bool __fastcall SelectGesture(System::Classes::TComponent* const AControl, const System::UnicodeString AName)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TGestureManager |
Description
Associates a gesture with a control.
SelectGesture is used to associated a gesture with a control. The method has two forms, the difference being how the gesture is searched for, by name or by gestureID.