Vcl.Controls.TControl.DoGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoGesture(const EventInfo: TGestureEventInfo; var Handled: Boolean); virtual;

C++

virtual void __fastcall DoGesture(const TGestureEventInfo &EventInfo, bool &Handled);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Processes the unhandled gesturing events.

DoGesture is run automatically for all gesturing events that were not handled by the user. DoGesture is run only if OnGesture is not set or if it did not handle the gesture event.

Override DoGesture in descending classes to support default behavior for gesture events that were not handled by the user. In TControl, the DoGesture method simply returns and does no special processing.

See Also