Sign in Join
FPDoc Onlineexperiment

TProgressEventEx procedure type

In unit Zipper

Specifies an event handler signalled to indicate compression/decompression progress.

Declaration

pascal
TProgressEventEx = procedure(Sender: TObject; const ATotPos: Int64; 
 const ATotSize: Int64) of object

Arguments

Sender

Object for the event notification.

ATotPos

Cumulative number of bytes handled in the caller.

ATotSize

Total number of bytes to be processed in the caller.

Description

TProgressEventEx is an object procedure which implements an event handler signalled to indicate compression/decompression progress. It is very similar to TProgressEvent, but provides separate values for the cumulative number of bytes handled and the total number of bytes to be processed.

TProgressEventEx is the type used to implement the OnProgressEx property in TDeCompressor and TUnZipper.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.