Overview
Previous  Next

TrackBar is a scrollable control which allows the user to choose a value by moving the slider along the bar.
The TrackBar can be either horizontally or vertically.
The range of values can be set using Minimum and Maximum properties.
The TicksFrequency property determines the ticks density.
An event named ValueChanged is raised whenever the value changes.
Example:
'Add a TrackBar named bar1.
Sub Globals

End Sub

Sub App_Start
      Form1.Show
      bar1.New1("Form1",20,100,200,30,false)
      bar1.Minimum = 20
      bar1.Maximum = 120
      bar1.TickFrequency = 10
End Sub

Sub Bar1_ValueChanged
      Form1.Text = bar1.Value
End Sub