FMX.StdCtrls.TTrackBar.Tracking

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Tracking: Boolean read FTracking write FTracking default 1;

C++

__property Tracking = {default=1};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TTrackBar

Description

Indicates whether thumb tracking is active or not. The default value of Tracking is True.

FMX.StdCtrls.TTrackBar.Tracking inherits from FMX.StdCtrls.TCustomTrack.Tracking. All content below this line refers to FMX.StdCtrls.TCustomTrack.Tracking.

Indicates whether thumb tracking is active or not. The default value of Tracking is True.

The following table shows how the value of Tracking impacts the behavior of a track bar and the related events:

Tracking Scenario Behaviour Events fired IsTracking

True or False

Press an arrow key on the keyboard.

The Thumb moves for one "step".

  1. OnTracking
  2. OnChange

False

True

Click on the Thumb of the track bar and move the Thumb.

The Thumb moves as much as you move it.

For each "step" of the movement:

  1. OnTracking
  2. OnChange

True

False

Click on the Thumb of the track bar and move the Thumb.

The Thumb moves as much as you move it.

For each step of the movement:

After you release the Thumb

True

True

Click anywhere on the track bar (excluding the Thumb).

The Thumb moves for one "step".

  1. OnTracking
  2. OnChange

False

False

Click anywhere on the track bar (excluding the Thumb).

The Thumb moves to the position where you click.

  1. OnTracking
  2. OnChange

False

True or False

Hold the Shift button and click anywhere on the track bar (excluding the Thumb).

The Thumb moves to the position where you click.

  1. OnTracking
  2. OnChange

False

See Also