F O R · R E A L L Y · T H I N · C L I E N T S
 Home  |  Overview  |  Widgets  |  Demo  |  License  |  History 

» Component
» Label
» Button
» CheckBox
» ComboBox
» TextField
» PasswordField
» TextArea
» TabbedPane
» Panel
» Desktop
» Dialog
» SpinBox
» ProgressBar
» Slider
» SplitPane
» List
» Table
» Tree
» Separator
» MenuBar

Slider
A slider lets the user graphically select a value by sliding a knob within a bounded interval, e.g. between 25 and 75.
<slider minimum="25" maximum="75" value="50" orientation="vertical" />

Parameters
NameTypeDefaultDescription
orientationchoicehorizontal Possible values are: horizontal, and vertical. The default value, if not set, is horizontal.
minimuminteger0 The slider's minimum value. By default, this is 0.
maximuminteger100 The slider's maximum value. By default, this is 100.
valueinteger0 The value is always between the slider's minimum and maximum values, inclusive. By default, the value equals the minimum.
unitinteger5 The distance of the value change when using arrow buttons.
blockinteger25 The distance of the value change when using page buttons.
actionmethodnull Invokes the method when the slider has changed its value.
name, enabled, visible, tooltip, width, height, colspan, rowspan, weightx, weighty, halign, and valign parameters are similar to component

Keyboard-actions
OperationAction
Left arrow, up arrowDecreases the value (steps in left/top direction) by unit value
Right arrow, down arrowIncreases the value (steps in right/bottom direction) by unit value
Page UpDecreases the value (jumps in left/top direction) by block value
Page DownIncreases the value (jumps in right/bottom direction) by block value
HomeMoves to minimum (left/top) value
EndMoves to maximum (right/bottom) value
Tab, Shift-TabNavigate forward, backward

Copyright © 2002 Robert Bajzat - info@thinlet.com - All rights reserved.