ProgressBar.Minimum
 
 
 

ProgressBar.Minimum

Description

Returns or sets the minimum value (lower limit of the progress bar's range) as an Integer. By default, the minimum is 0.

Note: Attempting to set the minimum value to be greater than the maximum or the progress bar's value will result in an error.

C# Syntax

// get accessor
Int32 rtn = ProgressBar.Minimum;
// set accessor
ProgressBar.Minimum = Int32;

Examples

VBScript Example

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

See Also

ProgressBar.Maximum