FMX.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 Fmx::Types::TGestureEventInfo &EventInfo, bool &Handled);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.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