API:FMX.Gestures.TGestureManager.RegisterControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterControl(const AControl: TComponent); override;

C++

virtual void __fastcall RegisterControl(System::Classes::TComponent* const AControl);

Properties

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

Description

Registers a control to receive gesture notifications.

FMX.Gestures.TGestureManager.RegisterControl inherits from FMX.Types.TCustomGestureManager.RegisterControl. All content below this line refers to FMX.Types.TCustomGestureManager.RegisterControl.

Registers a control to receive gesture notifications.

Override RegisterControl in descending classes to implement proper control registration into the gesture notification system. RegisterControl adds the control given by the AControl parameter into an internal list. You can then use the provided functionality to associate gestures to the newly registered control.

See Also