FMX.Controls.Presentation.TPresentedControl.GetFirstControlWithGesture
Delphi
function GetFirstControlWithGesture(AGesture: TInteractiveGesture): TComponent; override;
C++
virtual System::Classes::TComponent* __fastcall GetFirstControlWithGesture(Fmx::Types::TInteractiveGesture AGesture);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Controls.Presentation.pas FMX.Controls.Presentation.hpp |
FMX.Controls.Presentation | TPresentedControl |
Description
Requests from the presentation layer a control with the specified interactive gesture among the interactive gestures of its touch manager, and returns that control.
GetFirstControlWithGesture returns the first matching control that it finds.