This repository has been archived by the owner on Dec 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
changeSliderMaximum()
Mammad900 edited this page Oct 29, 2020
·
1 revision
Changes the maximum acceptable value for a slider (a slider's value is equal to it's maximum if it is in it's thumb is in the rightmost position)
- page (
int
) : The number of the page that contains the new slider - index (
int
) : The index of the slider relative to it's page - value (
int
) : The new maximum - changeOther (
bool
) optional: Iffalse
, the new maximum will be equal to the value if it is less than the value. Iftrue
, value will be changed so it wont be more than the new maximum. Default:false
The constrained maximum (if it is)
If the new maximum is less than value, this function may do different things depending on what changeOther (parameter) is.
If it is false
, the new maximum will be equal to the value if it is less than the value. If it is true
, value will be changed so it wont be more than the new maximum. Default: false