ProgressBar.Maximum

Description

Returns or sets the maximum value (upper limit of the progress bar's range) as an Integer. By default, the maximum is 100.

Note: Attempting to set the maximum value to be less than the minimum value will result in an "invalid argument" error.

Examples

VBScript Example

dim progressbar
set progressbar = XSIUIToolkit.ProgressBar
progressbar.Maximum = 70
progressbar.CancelEnabled = false
progressbar.Visible= true
for i = 1 to 70
        progressbar.Caption = "step" & i
        progressbar.Value = 1
next

See Also

ProgressBar.Minimum