Overview (ProgressBar)
Control (ProgressBar)
Enabled (ProgressBar)
Height (ProgressBar)
Left (ProgressBar)
Maximum (ProgressBar)
Minimum (ProgressBar)
New1 (ProgressBar)
Top (ProgressBar)
Value (ProgressBar)
Visible (ProgressBar)
Width (ProgressBar)
Overview (ProgressBar) Top
ProgressBar control is used to show the progress of a process.
The bar has a minimum value, maximum value and the current value.
The bar displays the current value relating to the minimum and maximum value.
Example:
'Add a ProgressBar named progressBar1.
Sub Globals
End Sub
Sub App_Start
Form1.Show
progressBar1.New1("Form1",10,10,200,30)
progressBar1.Value = 33
End Sub
Control (ProgressBar) Top
Gets (or sets) a reference to the object.
Syntax: Control
Enabled (ProgressBar) Top
Gets or sets whether the control is enabled.
Syntax: Enabled
Example:
progressBar1.Enabled = false
Height (ProgressBar) Top
Gets or sets the height of the control.
Syntax: Height
Example:
progressBar1.Height = 50
Left (ProgressBar) Top
Gets or sets the left property of the control.
Syntax: Left
Example:
progressBar1.Left = 10
Maximum (ProgressBar) Top
Gets or sets the maximum value that the bar can show.
The default is 100.
Syntax: Maximum
Example:
progressBar1.Maximum = 200
Minimum (ProgressBar) Top
Gets or sets the minimum value that the bar can show.
The default is 0.
Syntax: Minimum
Example:
progressBar1.Minimum = 50
New1 (ProgressBar) Top
Initializes the ProgressBar object.
Syntax: New1 (FormName As Control, Left As Int32, Top As Int32, Widh As Int32, Height As Int32)
Example:
progressBar1.New1("Form1",10,10,200,30)
Top (ProgressBar) Top
Gets or sets the top property of the control.
Syntax: Top
Example:
progressBar1.Top = 10
Value (ProgressBar) Top
Gets or sets the value of the bar.
Syntax: Value
Example:
progressBar1.Value = 45
Visible (ProgressBar) Top
Gets or sets whether the bar is visible.
Syntax: Visible
Example:
progressBar1.Visible = false
Width (ProgressBar) Top
Gets or sets the width of the control.
Syntax: Width
Example:
progressBar1.Width = 50