API:Vcl.Touch.GestureMgr.TGestureCollection.RemoveGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveGesture(AGestureID: TGestureID); override;

C++

virtual void __fastcall RemoveGesture(Vcl::Controls::TGestureID AGestureID);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Touch.GestureMgr.pas
Vcl.Touch.GestureMgr.hpp
Vcl.Touch.GestureMgr TGestureCollection

Description

Removes a gesture from the collection.

Vcl.Touch.GestureMgr.TGestureCollection.RemoveGesture inherits from Vcl.Controls.TCustomGestureCollection.RemoveGesture. All content below this line refers to Vcl.Controls.TCustomGestureCollection.RemoveGesture.

Removes a gesture from the collection.

Override RemoveGesture in descending classes to implement proper removal of gestures from the collection. RemoveGesture expects a parameter storing the ID of the gesture to remove. RemoveGesture removes the gesture from its internal list. The search for the gesture to be removed is performed by the ID given as the parameter. If the ID being searched for is not found, nothing happens.

See Also