Skip to content

Progress - cWebProgressBar

Increments the progress bar value one step towards 100%

Type: Procedure

Syntax

Procedure Progress

Call Example

Send Progress

Description

Send the Progress message to increment the progress bar's piValue property by one up to the maximum determined by piMaxValue. The % complete and bar progress are updated accordingly.

Sample

You could use Progress to increment the progress with 1 while you use piValue when you want to set it to a self calculated value.

Object oWebProgressBar1 is a cWebProgressBar
    Set piValue to 30
    Set piColumnSpan to 8
End_Object

Object oWebButton1 is a cWebButton
    Set piColumnSpan to 2
    Set psCaption to "Increment"
    Set piColumnIndex to 8

    Procedure OnClick
        Send Progress of oWebProgressBar1
    End_Procedure
End_Object