TCnTrackBar.SmallChange Property

Gets or sets the value added to or subtracted from the Value property when the scroll box is moved a small distance.

Namespace: CNClrLib.Control.TrackBar
published
 property SmallChange: Integer read GetSmallChange write SetSmallChange default 1;

Property Value

Type: Integer

 

When the user presses one of the arrow keys, the Value property changes according to the value set in the SmallChange property.

You might consider setting the value of SmallChange to a percentage of the value of the Height (for a vertically oriented track bar) or Width (for a horizontally oriented track bar) property. This sets the distance your track bar moves proportionate to its size.