TurboDB VCL Component Library

TTdbBatchMove.OnProgress

TTdbBatchMove

Previous  Top  Next

Occurs after a portion of the batch move process is finished.

Delphi syntax:

TTdbProgressEvent = procedure(Sender: TObject; PercentDone: Byte; var Stop: Boolean) of object;

property OnProgress: TBatchMoveProgress;

C++ syntax:

__property Tdbdataset::TTdbProgressEvent OnProgress = {read=FOnProgress, write=FOnProgress};

Description

Write an OnProgress event to show the progress of the batch move on screen. PercentDone contains the percentage of the records that has been imported/exported. By setting the Stop argument to True, you can also halt the batch move.

Note: Do not execute TurboDB database methods in this event handler as this can interfere with the batch move in progress..