Value Property

Applies To
ProgressBar, TrackBar

Description
Gets or sets the value that represents the control’s current position.

Usage

GGet Form.Control.Value, var  
GSet  Form.Control.Value, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name. The control must exist in the specified form.
var
Integer variable that will contain the value of the property.
value
Integer expression for the new value of the property.

Values
An integer representing the current value.

See Also
ProgressBar, TrackBar, Maximum, Minimum, Variable

Example

GSet form1.ProgressBar1.Value, 75