Overview
Previous  Next

The ScrollBar control is the regular windows scrollbar control.
The control can be a vertical bar or a horizontal bar.
The ScrollBar raises the ValueChanged event when the user scrolls the control.

Example:
'bar is a ScrollBar control.
Sub Globals

End Sub

Sub App_Start
      Form1.Show
      bar.New1("Form1",50,0,20,300,true) 'Vertical bar.
      bar.LargeChange = 20
      bar.SmallChange = 5
      bar.Maximum = 200
End Sub

Sub bar_ValueChanged
      Form1.Text = bar.Value
End Sub