RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomZStream.OnProgress Event

Occurs when reading or writing a large block of data in a single call.

Pascal
property OnProgress: TNotifyEvent;
C++
__property TNotifyEvent OnProgress;

Classes derived from TCustomZStream can use the OnProgress event to perform some action during a long read or write operation. 

For example, the TCompressionStream class calls the OnProgress event handler, after the stream's output buffer has been filled and subsequently written. Similarly, the TDecompressionStream class calls the OnProgress event handler when its input buffer has been filled and is ready to be decompressed. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!