Vcl.ExtCtrls.TPanel.OnGesture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGesture;

C++

__property OnGesture;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TPanel

Description

Occurs when you perform a gesture associated with this control.

Vcl.ExtCtrls.TPanel.OnGesture inherits from Vcl.Controls.TControl.OnGesture. All content below this line refers to Vcl.Controls.TControl.OnGesture.

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