Contents - Index - Previous - Next
OnFilePercentDone Event
Applies to
TVCLUnZip component
Declaration
property OnFilePercentDone: TFilePercentDone = procedure(Sender: TObject; Percent: LongInt); of object;
Description
The OnFilePercentDone event handler is Triggered periodically to report the progress on the current file being processed. Percent represents a percentage between 1 and 100.
This event will be called not only during zipping and unzipping, but also while writing/saving files from an original zip file when modifiying an existing zip file. One tip here is to set a flag in the OnStartZipInfo event so that you know which situation this event is being called. Anything before the OnStartZipInfo event is a result of moving original files while anything after OnStartZipInfo will be a result of actual compression.