[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomTrackBar.Frequency

Indicates the frequency for the tick marks displayed on the control.

## Declaration

Source position: comctrls.pp line 2783

`published property TCustomTrackBar.Frequency : Integer read FFrequency write SetFrequency default 1;`

## Description

Frequency is an Integer property which indicates the interval between tick marks displayed on the track bar control. The default value for the property is 1, and causes a tick mark to be drawn for each value between Min and Max. When set to another value, tick marks are drawn for each Position where the value modulus Frequency is 0 (zero).

Changing the value for the property causes the ApplyChanges method to be called to update the settings and visual appearance for the widgetset control.

Use LineSize to specify the increment applied to Position when a cursor key is pressed.

Use Min and Max to specify the range of values allowed in the Position property.

## See also

TCustomTrackBar.Min |  | Minimum value allowed in the Position for the track bar.
TCustomTrackBar.Max |  | Maximum value allowed in the Position for the track bar.
TCustomTrackBar.Position |  | Location of the slider on the track bar between the Min and Max values.
TCustomTrackBar.LineSize |  | Increment (or decrement) applied to the slider position when an arrow key is pressed.