Slider.TickFrequency
The Slider.TickFrequency property is used to define the number of ticks on the slider.
Syntax |
Slider.TickFrequency = TickValue |
Description |
Defines the frequency of ticks on the slider. |
Arguments |
TickValue {integer}. Defines the frequency of ticks on the slider. For example, if the Minimum is 0 and the Maximum is 100 and you set the TickValue to 10, the entire range of values for the slider is divided into 10 sections, with each section marked by a tick. |
Returns |
None. |
Example:
Slider.Minimum = 0
Slider.Maximum = 100
Slider.TickFrequency = 10
This sets the slider range so that it begins at 0 and ends at 100. The entire range is divided into 10 sections with each section marked by a tick.