Maximum Property

Applies To
ProgressBar, TrackBar

Description
Get or sets the maximum value of the processing range of the control.

Usage

GGet Form.Control.Maximum, var  
GSet  Form.Control.Maximum, 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 maximum value of the processing range.

See Also
ProgressBar, TrackBar, Minimum, Value

Example

GSet frmMain.TrackBar1.Maximum, 60