Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TSFSFileStream.OnProgress
TSFSFileStream
Top 


Occurs when a stream is involved in a potentially slow process.

type
TSFSNoCancelProgressEvent = procedure (Sender: TObject;PercentDone: Real) of object;

property OnProgress: TSFSNoCancelProgressEvent;

Description
OnProgress occurs during such processes as reading, writing, loading, saving and changing compression level and encryption. OnProgress allows applications to provide the user with feedback about the progress of the potentially 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.


© 2000-2004 AidAim Software LLC Single File System: Single-file Delphi Virtual File Syste