ISProcessIndicator.ProcessValue

Description

The process indicator value.

Syntax

object.ProcessValue

Part Attribute Type Description
object Required
The object always implements the ISProcessIndicator interface

Return Value

int

Example

Display the process progress in the Profile window and its caption.

Dim aProcessIndicator
Dim aStartValue
Dim aEndValue
Dim aCaption

Set aProcessIndicator = Profile.CommonDialog.NewProcessIndicator
aStartValue = 1
aEndValue = 100
aCaption = "The long operation progress"

aProcessIndicator.ProcessStart aStartValue, aEndValue, aCaption

for i = aStartValue to aEndValue
  Sleep(20)   'Imitation of the long operation
  aProcessIndicator.ProcessValue = i
next
Note:

Version information

Added in v7.8.0