Vcl.Touch.GestureCtrls.TCustomGesturePreview

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TCustomControlVcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomGesturePreview

Delphi

TCustomGesturePreview = class(TCustomControl)

C++

class PASCALIMPLEMENTATION TCustomGesturePreview : public Vcl::Controls::TCustomControl

Properties

Type Visibility Source Unit Parent
class public
Vcl.Touch.GestureCtrls.pas
Vcl.Touch.GestureCtrls.hpp
Vcl.Touch.GestureCtrls Vcl.Touch.GestureCtrls

Description

TCustomGesturePreview is the base type for all gesture preview controls.

Use TCustomGesturePreview as a base class when defining a control that shows a gesture use preview. TCustomGesturePreview displays an animated preview for the assigned gesture. This preview includes an animated point that traces the path needed to recognize the gesture.

Do not create instances of TCustomGesturePreview. To put a gesture preview on the form, use a descendant of TCustomGesturePreview, such as TGesturePreview.

The most effective way to use TCustomGesturePreview is to associate it with a TGestureListView control. Whenever the selection changes in the TGestureListView, the preview automatically shows the new gesture.

See Also