New1
Previous  Next

Initializes the TrackBar object and adds it to a form or a panel.
Syntax: New1 (FormName As Control, Left As Int32, Top As Int32, Width As Int32, Height As Int32m IsVertical As Boolean)
FormName - The name of the form that will contain the bar.
IsVertical - If true then the bar will be vertical, otherwise it will be horizontal.

Example:
bar1.New1("Form1",20,100,200,30,false)