SetTickFrequency

                                     +-1----+
>>-aSliderControl~SetTickFrequency(--+------+--)---------------><
                                     +-freq-+


The SetTickFrequency method sets the interval frequency for tick marks in a slider. For example, if you set the frequency to 2, a tick mark is displayed for every other increment in the slider's range.

Arguments:

The only argument is:

freq

The frequency of the tick marks. The default is 1, that is, every increment in the range is associated with a tick mark.

Return value:

0

The tick mark frequency was set.

-1

You omitted freq.

1

For all other cases.

Example:

The following example sets the range, the line step, the page step, and the tick frequency of the slider:

::method InitDialog
  curSL = self~GetSliderControl("IDC_1")
  if curSL \= .Nil then do
    curSL~InitRange(0,100)
    curSL~SetLineStep(1)
    curSL~SetPageStep(10)
    curSL~SetTickFrequency(10)
  end