Vcl.Touch.GestureCtrls.TCustomGestureListView.AddGestures

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddGestures(Control: TControl; GroupID: Integer = -1); overload; virtual;
procedure AddGestures(Gestures: TGestureArray; GroupID: Integer = -1); overload; virtual;
procedure AddGestures(Gestures: TCustomGestureCollection; GroupID: Integer = -1); overload; virtual;

C++

virtual void __fastcall AddGestures(Vcl::Controls::TControl* Control, int GroupID = 0xffffffff)/* overload */;
virtual void __fastcall AddGestures(Vcl::Controls::TGestureArray Gestures, int GroupID = 0xffffffff)/* overload */;
virtual void __fastcall AddGestures(Vcl::Controls::TCustomGestureCollection* Gestures, int GroupID = 0xffffffff)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Touch.GestureCtrls.pas
Vcl.Touch.GestureCtrls.hpp
Vcl.Touch.GestureCtrls TCustomGestureListView

Description

Adds a list of gestures to the list control.

Use AddGestures to add a list of gestures to the list control. The Gestures parameter specifies either the array of gesture items or a TGestureCollection to be added to the list control; GroupID specifies the group ID of the gestures.

AddGestures can also be used to add all gestures assigned to a control to the gestures list view by passing a TControl instance in the Control parameter.

Avoid calling AddGestures directly. The gesture list view control is designed to populate its items from the associated gesture manager control specified in the GestureManager property.

See Also