The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....
TOnPercentDoneEvent = procedure (Sender: TObject; PercentDone: integer) of object;
The TOnPercentDoneEvent can be used to indicate the progress of a time-consuming process. The parameter PercentDone contains a number between 0 and 100 which corresponds to the state of the process. The following routines trigger an OnPercentDone event:
In order to be able to abort a time-consuming operation, Windows has to get control over the application. Thus it is necessary to implement a feedback routine which contains at least the statement "Application.ProcessMessages; ". Otherwise, the routines mentioned above cannot be aborted.