.topic ctrl.hscrollbar
.title HScrollBar
.toc 1 HScrollBar
.index HScrollBar
.index Slider

.h1 HScrollBar

VB Equivalent: HScrollBar -- DVX Widget: slider | Name Prefix: HScroll

A horizontal slider/scrollbar control. The value ranges between a minimum and maximum set at creation time (default 0 to 100).

.h2 Type-Specific Properties

.table
  Property   Type      Description
  --------   -------   -------------------------------------------
  Value      Integer   The current slider position (clamped to min/max range).
.endtable

Default Event: Change

.h2 Example

.code
Begin HScrollBar HScroll1
    MinWidth = 200
End

Sub HScroll1_Change ()
    Label1.Caption = "Value: " & Str$(HScroll1.Value)
End Sub
.endcode

.link ctrl.common.props Common Properties, Events, and Methods
