From Dabo Wiki
Jump to: navigation, search

dSlider is a control that allows the user to select from a range of values by sliding a thumb either vertically or horizontally.

Some of the more useful properties for dSlider:

  • Orientation - (str): Controls the layout of the control; can be either "Vertical" or "Horizontal". This must be passed at object creation time; afterwards it has no effect. Default=Horizontal
  • Max - (int): Maximum value of the range for this control. Default=100
  • Max - (int): Minimum value of the range for this control. Default=0
  • ShowLabels - (bool): Specifies if numeric labels are shown on the slider. Must be set when the object is created; setting it afterwards has no effect. Default=True
  • Continuous - (bool): Determines whether Hit events are raised continuously as the user drags the thumb control (True), or only when the dragging ends (False; default).

See the Dabo Class Documentation for an exhaustive documentation of this control's Properties, Events and Methods. (Note that this documentation is no longer live, but it's still available via the Internet Archive).