API:FMX.Gestures.TGestureManager.UnregisterControl
Delphi
procedure UnregisterControl(const AControl: TComponent); override;
C++
virtual void __fastcall UnregisterControl(System::Classes::TComponent* const AControl);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TGestureManager |
Description
Unregisters a control, preventing it from receiving gesture notifications.
FMX.Gestures.TGestureManager.UnregisterControl inherits from FMX.Types.TCustomGestureManager.UnregisterControl. All content below this line refers to FMX.Types.TCustomGestureManager.UnregisterControl.
Unregisters a control, preventing it from receiving gesture notifications.
Override UnregisterControl in descending classes to implement proper control unregistering from the gesture notification system. UnregisterControl removes the control given by the AControl parameter from an internal list. All the gestures that were associated with the removed control are freed.