index    previous    next
 
v_slider

SLIDER

The vertical SLIDER control allows a user to enter a numeric value by dragging the slider button along the track, clicking on the track (the area above and below the slider button) or the top and bottom arrows at either end of the slider.

The value entered in this way allows the user to quickly set the value by 'feel' (e.g. approx half maximum, a third maximum, three quaters maximum). If tied to a visual minic or audio output, it also allows the user to set a value based on feedback so that the user can easily adjust the slider in response to the feedback. This is much easier and feels more natural that continually entering numbers in an attempt to hit the right one.

The SLIDER control has an associated log function which is invoked when its value is changed by the user.

The programmer refers to the log function as "log_func". It can be set via the "log_func_name" property in the "slider control" dialog.

Horizontal and vertical SLIDER controls are actually the same SLIDER control. They are only differentiated by their height to width ratio. A SLIDER that is higher than it is wide is treated as a vertical SLIDER. A SLIDER that is wider than it is high is treated as a horizontal SLIDER. To change a SLIDER from a horizontal SLIDER to a vertical SLIDER (and vica vera) simply change the shape of the SLIDER by grabbing it at the corner of (while in edit mode) and dragging the corner to a new position.