ProgressBar.Caption
 
 
 

ProgressBar.Caption

Description

Returns or sets the caption to be displayed during incrementation in the progress bar as a String. By default, there is no caption (empty string).

C# Syntax

// get accessor
String rtn = ProgressBar.Caption;
// set accessor
ProgressBar.Caption = String;

Examples

VBScript Example

dim progressbar
set progressbar = XSIUIToolkit.ProgressBar
progressbar.Maximum = 70
progressbar.Step = 1
progressbar.CancelEnabled = false
progressbar.Visible= true
for i = 1 to 70
        progressbar.Caption = "Amount Incremented" & i
        progressbar.Increment 1
next