TCnTrackBar.TickFrequency Property

Gets or sets a value that specifies the delta between ticks drawn on the control.

Namespace: CNClrLib.Control.TrackBar
published
 property TickFrequency: Integer read GetTickFrequency write SetTickFrequency default 1;

Property Value

Type: Integer

 

For a TCnTrackBar with a large range of values between the Minimum and the Maximum properties, it might be impractical to draw all the ticks for values on the control. For example, if you have a control with a range of 100, passing in a value of 5 here causes the control to draw 20 ticks. In this case, each tick represents five units in the range of values.