ProgressMax Property (AStatusBarPane)

Returns or sets the maximum value of the progress range.

Syntax

 [ dValue = ] Object.ProgressMax

The ProgressMax property syntax has the following parts:

 

Name

Type

Description

Object

AStatusBarPane

AStatusBarPane object

dValue

Double

A double specifying the max value of progress bar pane. Default value is 100.

Comments

This property only applies to progress pane of style Progress Bar.

This minimum value is set initially at the outset as well as maximum value. Then as an execution progresses, setting progress values will display the progress on the pane as expected.

Example

The following statement sets the Max to be the number of tests in a program:

sbr.Panes("Progress").ProgressMin=0
sbr.Panes("Progress").ProgressMax=iTests
sbr.Panes("Progress").ProgressValue=0

Applies to

AStatusBarPane

See Also

ProgressMin, ProgressValue