Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

changeSliderMinimum()

Mammad900 edited this page Oct 29, 2020 · 1 revision

changeSliderMinimum( page, index, value, changeOther)

Summary

Changes the minimum acceptable value for a slider (a slider's value is equal to it's minimum if it is in it's thumb is in the leftmost position)

Parameters

  1. page (int) : The number of the page that contains the new slider
  2. index (int) : The index of the slider relative to it's page
  3. value (int) : The new minimum
  4. changeOther (bool) optional: If false, the new minimum will be equal to the value if it is more than the value. If true, value will be changed so it wont be less than the new minimum. Default: false

Returns

The constrained minimum (if it was)

Notes

If the new minimum is more than value, this function may do different things depending on what changeOther (parameter) is.

If it is false, the new minimum will be equal to the value if it is more than the value. If it is true, value will be changed so it wont be less than the new minimum. Default: false

Clone this wiki locally