The following method is called from the notification callback to update progress information, including the operation being performed and the target file. The percentage of the backup job is represented by the
updateProgress(oper: String; fname: String; percentDone: Integer) protected; begin // Move the bar on our progress bar control progressBar.partsDone := percentDone; if percentDone = 0 then // Update labels showing operation and file name currently being // processed operation.caption := oper; fileName.caption := fname; // Make sure the dialog repaints updated controls refreshNow; endif; end;