Vcl.Forms.TControlScrollBar.Tracking

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Tracking: Boolean read FTracking write FTracking default False;

C++

__property bool Tracking = {read=FTracking, write=FTracking, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TControlScrollBar

Description

Determines whether the form or scroll box moves before the thumb tab is released.

Use Tracking to control whether the scroll bar and associated control repaint while the thumb tab is dragged with the mouse. If Tracking is true, the image moves as the user drags the thumb tab. If Tracking is false, the image remains static until the thumb tab is released.

Repainting while the thumb tab is dragged can provide useful feedback to the user about how far the control has scrolled, but slows performance.