A progress indicator.

Syntax

[<oRef> =] new Progress(<container> [,<name expC>])

<oRef>

A variable or property—typically of <container>—in which to store a reference to the newly created Progress object.

<container>

The container—typically a Form object—to which you’re binding the Progress object.

<name expC>

An optional name for the Progress object. If not specified, the Progress class will auto-generate a name for the object.

Properties

The following tables list the properties of interest in the Progress class. (No particular events or methods are associated with this class.)

Property

Default

Description

baseClassName

 

PROGRESS

Identifies the object as an instance of the Progress class

className

(PROGRESS)

Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName

rangeMax

 

The maximum value

rangeMin

 

The minimum value

value

 

The current value

 

The following table lists the common properties, events, and methods of the Progress class:

Property

 

Event

 

Method

before
borderStyle

dragEffect

form

height

hWnd

left

mousePointer

name

pageno
parent

printable

speedTip

systemTheme

top

visible

width

beforeRelease
onClose

onDesignOpen

onDragBegin

onLeftMouseDown

onLeftMouseUp

onMiddleMouseDown
onMiddleMouseUp

onMouseMove

onOpen

onRightMouseDown

onRightMouseUp

drag( )
move( )

release( )

Description

Use a Progress object to graphically indicate progress during processing. For example to display percentage completed, set the rangeMin to 0 and the rangeMax to 100. Then as the process progresses, set the value to the approximate percentage. The control will display the percentage graphically.