Vcl.Touch.GestureMgr.TGestureManager.RegisterControl
Delphi
procedure RegisterControl(AControl: TControl); override;
C++
virtual void __fastcall RegisterControl(Vcl::Controls::TControl* AControl);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Touch.GestureMgr.pas Vcl.Touch.GestureMgr.hpp |
Vcl.Touch.GestureMgr | 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.