Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.OnGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGesture: TGestureEvent read FOnGesture write FOnGesture;

C++

__property TGestureEvent OnGesture = {read=FOnGesture, write=FOnGesture};

Properties

Type Visibility Source Unit Parent
event public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Occurs when you perform a gesture associated with this control.

Write an event handler for OnGesture to perform custom processing for gesture events. OnGesture is fired on controls that subscribed for specific gestures using the TTouchManager class. If your code did process the gesture event, do not forget to set the Handled parameter to True so that the event is not propagated further.

If no event handler is associated with the control, the default DoGesture method is executed performing its own processing for the event.

OnGesture is an event handler of type Vcl.Controls.TGestureEvent.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance