TTrackBar
│
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
A TTrackBar is a component on the Common Controls tab of the Component Palette shows a tracking bar control. A TTrackBar contains a slider and sometimes tick marks. The TTrackBar is a scrollable control similar to the TScrollBar.
The position
property
of a TTrackBar represents the current value of a TrackBar control.
The min
and max
properties are used to set minimum and maximum limit of a TrackBar.
The orientation
property determines whether the TrackBar is oriented on the horizontal or vertical axis.
The corresponding values are trHorizontal
or trVertical
.
The frequency
property defines the distance between the tick marks along the slider.
By default the frequency
is set to one.
For example, if min
and max
values of a TrackBar are 0 and 20.
By setting frequency
to 2 means, it will take 10 steps from 0 to 20. For example, when the Pgup key is pressed
When the TrackBar controls value is changed, a onChanged
event is fired.
This event can be processed to update all features linked to the TrackBar.
See also