The IDLitIMessaging::ProgressBar function method is used to display a progress bar to the user and update the displayed values.
On the initial call to this method, a dialog is displayed. The dialog remains active until the method is called with the /SHUTDOWN keyword.
The actual method used to display the message to the user depends on the user interface in use. Normally, the progress bar is displayed as a modal dialog.
Result = Obj->[IDLitIMessaging::]ProgressBar(StrMessage [, CANCEL=string] [, PERCENT=value] [, /SHUTDOWN])
Returns 1 if the progress bar was displayed successfully, or 0 otherwise.
A scalar string or string array containing a description of the action taking place.
Set this keyword to a string containing the text for the Cancel button on the Progress Bar. If this keyword is not specified, or is set to a null string, then the string "Cancel" is used.
Set this keyword to a value between 0 and 100 that represents the "percentage complete" value to be shown on the progress bar.
If set, any progress bar that is being displayed is removed from the user interface.
Introduced: 6.0
CANCEL keyword added: 6.1