SetPageStep

>>-aSliderControl~SetPageStep(--step--)------------------------><


The SetPageStep method sets the number of logical positions that the slider moves in response to keyboard input, such as the PageUp or PageDown keys, or mouse input, such as clicks in the slider's channel. The logical positions are the integer increments within the minimum and maximum positions of the slider.

Arguments:

The only argument is:

step

The new page size.

Return value:

The previous page size.

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