partsDone
Type: Integer
The partsDone property of the ProgressBar control contains information for the ProgressBar control about the percentage of the task that is completed.
When you set the partsDone property, the partsDone mapping method colors the progress bar with the parts that are done when a change in parameter value affects the appearance of the progress bar. For example, if you set the partsDone property to 25 when the partsInJob property is set to 100, the progress bar is a quarter colored, with 75 percent of the job remaining to be done.
When the application is running in thin client mode, use the thinClientUpdateInterval property to control how often the progress var will be redrawn as the percentage changes.
The following example shows the use of the partsDone property.
showProgress(runningTotal: Integer; totalNumber: Integer; message: String) updating; begin progressBar.partsInJob := totalNumber; progressBar.partsDone := runningTotal; end;