EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


TEasyDatabase.OnProgress
TEasyDatabase
Top 

Occurs when a database is involved into some potentially slow process.

type
TaaProgressProcess = (aappImport,aappExport,aappRestructure, aappRepair,aappChangeCompression, aappCompactDB, aappRepairDB, aappChangeEncryption, aappChangeEncryptionDB);  
 
TProgressEvent =  
procedure (Sender: TComponent; PercentDone: Real; ProgressProcess: TaaProgressProcess; var Cancel: Boolean) of object;  

property OnProgress: TProgressEvent;

Description
OnProgress occurs during potentially slow processes such as repairing, compacting database. OnProgress allows applications to provide the user with a feedback about the progress of the slow process.

The PercentDone parameter is an approximation of how much of the operation has completed. Use PercentDone to update the position of a progress bar or other indicator.

The ProgressProcess parameter indicates what kind of process is running: repairing database, compacting database.

When the Cancel parameter is True, the execution of the process is cancelled.



© AidAim Software EasyTable: Easytable Ben Delphi Database Single File Bde Replacemen