From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property OnGesture: TGestureEvent read FOnGesture write FOnGesture;


__property Fmx::Types::TGestureEvent OnGesture = {read=FOnGesture, write=FOnGesture};


Type Visibility Source Unit Parent
event published
FMX.Controls TControl


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 FMX.Types.TGestureEvent.

See Also

Code Examples