Slider
Sliders might be used in order to control output, resizing images or displaying relative integer values. Slider controls get a maximum and minimum value and a step and page size. Step size is the interval added or subtracted, when using cursor keys. Page size is the value to be added or subtracted when using the page keys (page-up and down). In order to create, update or browse slider styles, one may select Objects/Styles/Slider.
For displaying a vertical slider, the vertical option has to be set to true. Otherwise, a horizontal slider will be displayed. The low and high value show the minimum and maximum value for the property. When filling data for the current property, the slider shows the position that corresponds to the property value. When the property is not numerical, the property value is 0, always.
Single step is the value, which will be added or subtracted when using left or right key. Page step is the value to be added or subtracted when using the page up or page down key.
Besides default properties for controls, the slider supports additional properties for changing slider boundaries at run-time. Properties may be changed or read by calling controlProperty() or setControlProperty():
- low - refers to the lower boundary
- high - refers to the high boundary
- single - refers to the single step value
- page - refers to the page value