Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia

Controls slider behavior when the user clicks within the slider's tracking area.

Slider:SetStepsPerPage(steps)

Arguments[]

steps
Number - magnitude of the slider value change, or 0 to disable paging behavior.

Details[]

  • This function controls the Slider's behavior when the user clicks within its tracking area (to either side of the Slider's thumb).
  • By default (or if steps < 1), paging behavior is disabled. In this case, the slider's value will be changed based on the location of the click, and may assume fractional values.
  • If steps >= 1, the Slider's value will be changed by exactly Slider:GetValueStep()*math.floor(steps) in the direction of the click.

Patch history[]

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.

See also[]