Controls.TCustomGestureManager Methods

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

function GetGestureList(AControl: TControl): TGestureArray; virtual; abstract;

Returns the list of gestures associated with a control.

function GetStandardGestures(AControl: TControl): TStandardGestures; virtual; abstract;

Returns the set of standard gestures associated with a control.

procedure SetStandardGestures(AControl: TControl; AStandardGestures: TStandardGestures); virtual; abstract;

Associates a set of standard gestures with a control.

function AddRecordedGesture(Item: TCustomGestureCollectionItem): TGestureID; overload; virtual; abstract;

Adds a newly recorded gesture to the gesture manager.

function FindCustomGesture(AGestureID: TGestureID): TCustomGestureCollectionItem; overload; virtual; abstract;

Returns a recorded or a registered gesture managed by the gesture manager component.

function FindCustomGesture(const AName: string): TCustomGestureCollectionItem; overload; virtual; abstract;

Returns a recorded or a registered gesture managed by the gesture manager component.

function FindGesture(AControl: TControl; AGestureID: TGestureID): TCustomGestureCollectionItem; overload; virtual; abstract;

Finds the collection item holding a gesture given by an ID and associated with a control.

function FindGesture(AControl: TControl; const AName: string): TCustomGestureCollectionItem; overload; virtual; abstract;

Finds the collection item holding a gesture given by an ID and associated with a control.

procedure RegisterControl(AControl: TControl); virtual; abstract;

Registers a control to receive gesture notifications.

procedure RemoveRecordedGesture(AGestureID: TGestureID); overload; virtual; abstract;

Removes a recorded gesture from the gesture manager.

procedure RemoveRecordedGesture(AGesture: TCustomGestureCollectionItem); overload; virtual; abstract;

Removes a recorded gesture from the gesture manager.

function SelectGesture(AControl: TControl; AGestureID: TGestureID): Boolean; overload; virtual; abstract;
function SelectGesture(AControl: TControl; const AName: string): Boolean; overload; virtual; abstract;
procedure UnregisterControl(AControl: TControl); virtual; abstract;

Unregisters a control, preventing it from receiving gesture notifications.

procedure UnselectGesture(AControl: TControl; AGestureID: TGestureID); virtual; abstract;


Unit: Controls

Type: method

Visibility: public

Member Of: TCustomGestureManager

C++ Information

virtual System::DynamicArray<Controls::TCustomGestureCollectionItem *> __fastcall GetGestureList(Controls::TControl * AControl);

Returns the list of gestures associated with a control.

virtual System::Set<Controls::TStandardGesture,1,34> __fastcall GetStandardGestures(Controls::TControl * AControl);

Returns the set of standard gestures associated with a control.

virtual void __fastcall SetStandardGestures(Controls::TControl * AControl, const System::Set<Controls::TStandardGesture,1,34> & AStandardGestures);

Associates a set of standard gestures with a control.

virtual short __fastcall AddRecordedGesture(Controls::TCustomGestureCollectionItem * Item);

Adds a newly recorded gesture to the gesture manager.

virtual Controls::TCustomGestureCollectionItem * __fastcall FindCustomGesture(short AGestureID);

Returns a recorded or a registered gesture managed by the gesture manager component.

virtual Controls::TCustomGestureCollectionItem * __fastcall FindGesture(Controls::TControl * AControl, short AGestureID);

Finds the collection item holding a gesture given by an ID and associated with a control.

virtual void __fastcall RegisterControl(Controls::TControl * AControl);

Registers a control to receive gesture notifications.

virtual void __fastcall RemoveRecordedGesture(short AGestureID);

Removes a recorded gesture from the gesture manager.

virtual bool __fastcall SelectGesture(Controls::TControl * AControl, short AGestureID);
virtual void __fastcall UnregisterControl(Controls::TControl * AControl);

Unregisters a control, preventing it from receiving gesture notifications.

virtual void __fastcall UnselectGesture(Controls::TControl * AControl, short AGestureID);


Unit: Controls

Type: method

Visibility: public

Member Of: TCustomGestureManager


Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!

Personal tools
Translations
Newest Version