Contents - Index - Previous - Next
OnDisposeFile event
Applies to
TVCLZip component
Declaration
property OnDisposeFile: TDisposeEvent = procedure(Sender: TObject; FName: string; var Skip: Boolean); of object;
Description
The OnDisposeFile event handler is executed for each file, just before it is about to be deleted from disk. This will only happen if you have set the Dispose Property to True causing each file that has been compressed to be deleted from disk, effectively "moving" the files from disk into the zip file. No files are actually deleted until the zip file has been successfully created.