ProgressDialog Objects

The ProgressDialog can be used for two purposes:

  • To display the progress of an operation (see example);
  • To display a busy animation (such as a magnifying glass circling a computer monitor) during an operation (see example).

The ProgressDialog is a separate dialog box from that described in the rest of this tutorial.

 

AnimationStyle

Property that allows you to get or set the current animation style of the progress bar.

 

Caption

Property that allows you to get or set the current caption (title) of a ProgressDialog.

 

Close

Closes the progress dialog box.

 

FormPos

Property that allows you to get or set the current position of the ProgressDialog.

 

Max

Property that allows you to get or set the maximum value of the progress bar.

 

Message

Property that allows you to get or set the current message (prompt) of a ProgressDialog.

 

Min

Property that allows you to get or set the minimum value of the progress bar.

 

MsgBox

Displays a simple message dialog box that is guaranteed not to be covered by the ProgressDialog used to create it.

 

Open

Displays the progress dialog box and returns immediately, leaving the dialog box open.

 

Position

Property that allows you to get or set the current position of the progress bar.

 

StayOnTop

Property that allows you to get or set whether the ProgressDialog will automatically appear above all other windows. See also the MsgBox method.