| Unit: | SDL_sdlbase |
| Class: |
none |
| Declaration: |
TOnCheckAbortEvent = procedure (Sender: TObject; var Abort: boolean) of object; |
The TOnCheckAbortEvent can be used to abort a time-consuming process. The parameter Abort has to be set TRUE in order to abort the particular process. The following routines trigger an OnCheckAbort event:
TPLSModel.CrossValidateModel
TCrossValidator.Execute
| Hint: |
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;". The OnCheckAbort event handler is a perfect place to do so. |
|