isCOBOL Evolve : Appendices : Library Routines : W$PROGRESSDIALOG : WPROGRESSDIALOG-SET-PROGRESS
WPROGRESSDIALOG-SET-PROGRESS
The WPROGRESSDIALOG-SET-PROGRESS function updates the progress dialog box with the current state of the work being monitored.
Syntax:
 CALL "W$PROGRESSDIALOG" USING WPROGRESSDIALOG-SET-PROGRESS
                               pDialogHandle
                               completed
                               total
Parameters:
WPROGRESSDIALOG-SET-PROGRESS
Constant
 
pDialogHandle
HANDLE
Handle returned by WPROGRESSDIALOG-CREATE.
completed
PIC 9(n)
It specifies what proportion of the work has been completed so far.
total
PIC 9(n)
It specifies what value the completed parameter will have when the work is complete.