TrackBar.setTickFrequency

Overview | Methods | This Package | All Packages

TrackBar.setTickFrequency

Sets the number of units between tick marks.

Syntax

public void setTickFrequency( int value )

Parameters

value

The number of units between tick marks. The default value is 1.

Remarks

For a small trackbar with a large range, it is visually confusing to mark each unit in the range with a tick mark. You can set the tickFrequency to a number greater than one (the default) to alleviate this problem. For example, if a trackbar has a range of 0 (zero) to 100, set the tickFrequency property to 10 to display one tick mark for every ten units on the track bar.

See Also   getTickFrequency