Vcl.Touch.GestureCtrls.TCustomGestureListView.AddGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddGesture(Gesture: TCustomGestureCollectionItem; GroupID: Integer = -1); overload; virtual;
procedure AddGesture(GestureID: TGestureID; GroupID: Integer = -1); overload; virtual;

C++

virtual void __fastcall AddGesture(Vcl::Controls::TCustomGestureCollectionItem* Gesture, int GroupID = 0xffffffff)/* overload */;
virtual void __fastcall AddGesture(Vcl::Controls::TGestureID GestureID, 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 gesture to the list control.

Use AddGesture to add a gesture to the list control. The Gesture parameter specifies the gesture item to be added to the list control; GroupID specifies the group ID of the gesture.

Avoid calling AddGesture 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