Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTrackBarProperties.Frequency Property

Specifies the distance between tick marks.

#Declaration

Delphi
property Frequency: Integer read; write; default 1;

#Property Value

Type Default
Integer 1

#Remarks

Use the Frequency property to set the offset between neighboring tick marks. This property value specifies the amount by which the Position property must be changed so that the track bar’s thumb moves to the next or previous tick mark. Note that tick marks are only displayed if the ShowTicks property value is True.

When you alter the offset between neighboring tick marks, the number of tick marks displayed also changes. The table below shows screenshots of the same track bar editor when the Frequency property is set to 2, 3 and 5.

Value Effect
2
3
5

The Frequency property can be used for two reasons:

  • When the range of edited values is too large for all tick marks to fit within the track bar. Increase the Frequency to decrease the number of tick marks in this case.

  • To restrict end-users to set specific values only.

The default value of the Frequency property is 1.

See Also