CALL "W$PROGRESSDIALOG" USING opCode, parameters GIVING returnCode |
opCode | ||
Create and start the progress dialog. | ||
Closes the progress dialog box. | ||
Updates the progress dialog box. | ||
Check if the user has pressed the Cancel button. | ||
Set the text lines displayed in the progress dialog box. | ||
Reset the progress dialog box timer to zero. | ||
parameters | Parameters depend on the opcode. |
call "w$progressdialog" using wprogressdialog-create "Processing..." "Operation cancelled" wprogressdialog-noprogressbar omitted giving pDialogHandle. |defined as usage handle |in working-storage call "w$progressdialog" using wprogressdialog-set-line pdialoghandle "exporting data from files" 1, 0. perform export-data-from-files. call "w$progressdialog" using wprogressdialog-destroy pDialogHandle. |