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.

RegisterControl registers a control in order for that control to receive gesture notifications. The gesture being registered is given by the AControl parameter.

Registering a control also involves copying standard gestures into the control's collection and creating a gesture engine if the control is registered at run time, as opposed to design time.

Note: You can use the provided functionality to associate gestures with the newly registered control.

See Also