The basic function of a slider control.
Description | ||
ERROR_MAXMIN_INVALID |
ERROR_MAXMIN_INVALID : |
Type | Description | |
lockSlideBar | Boolean |
if lockSlideBar is true, user cannot slide/move button on slider. However, developer can still move slider by setting "value" property. |
maximum | Number |
maximum value of slider. Maximum value cannot be lower than or equal to minimum. after maximum is set, the position slider button will not changed. Instead, the value of slider will changed to make the button be in the same position. |
minimum | Number |
minimum value of slider. Minimum value cannot be higher than or equal to maximum. after minimum is set, the position slider button will not changed. Instead, the value of slider will changed to make the button be in the same position. |
showDecreaseButton | Boolean |
showDecreaseButton uses to toggle the show/hide decrease button. |
showIncreaseButton | Boolean |
showIncreaseButton uses to toggle the show/hide increase button. |
stepSize | Number |
Step size when user uses increse/decrease button |
value | Number |
Value of slide box associated to button position. value will be between minimum and maximum value. |
value | Number |
reset value to minimum value. |
Return type | Description | |
setMinMax(NumberNumber) | None |
set new minimum, maximum rage. Use this method if you want to change minimum, maximum in the same time. after minimum, maximum is set, the position slider button will not changed. Instead, the value of slider will changed to make the button be in the same position. |
Description | ||
slideButton_ValueChange |
The event fires when button value change. This can occur when slider button position is changed, or user changed minimum, maximum value of slider. |
if lockSlideBar is true, user cannot slide/move button on slider. However, developer can still move slider by setting "value" property.
maximum value of slider. Maximum value cannot be lower than or equal to minimum. after maximum is set, the position slider button will not changed. Instead, the value of slider will changed to make the button be in the same position.
minimum value of slider. Minimum value cannot be higher than or equal to maximum. after minimum is set, the position slider button will not changed. Instead, the value of slider will changed to make the button be in the same position.
Value of slide box associated to button position. value will be between minimum and maximum value.
set new minimum, maximum rage. Use this method if you want to change minimum, maximum in the same time. after minimum, maximum is set, the position slider button will not changed. Instead, the value of slider will changed to make the button be in the same position.