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

changeSliderValue()

Mammad900 edited this page Aug 31, 2020 · 1 revision

changeSliderWidth( page, index, value, changeOther)

Summary

Changes the value of a slider

Parameters

  1. Page(int) : The number of the page that contains the slider
  2. Index (int) : The index of the slider relative to it's page
  3. Value (int) : The new value
  4. changeOther (bool) optional: If false, the new value will be constrained to min & max if it is out of range. If true, min & max will be changed so the new value fits in them. Default: false

Returns

The constrained value (if it is)

Notes

If the new value is out of range, this function may do different things depending on what changeOther (parameter) is.

If it is false, the new value will be constraint to min&max if it is out of range. If it is true, min&max will be changed so new value fits in them. Default: false

Clone this wiki locally