Maximum (ProgressBar)

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.

C# Syntax

// get accessor
Int32 rtn = ProgressBar.Maximum;

// set accessor
ProgressBar.Maximum = Int32;

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



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index