T
ZipForge
.OnPassword
TZipForge
Top
Occurs when application needs password for the encrypted file.
type
TZFOnPasswordEvent = procedure (
Sender: TObject;
FileName: String;
var
NewPassword: String;
var
SkipFile: Boolean
) of
object
;
property
OnPassword: TZFOnPasswordEvent;
Description
Write an OnPassword event handler to perform query password for the encrypted file being
extracted
or
tested
.
The Sender parameter is the object whose event handler is called.
FileName indicates current file name.
NewPassword determines new password that will be used for extracting or testing of the encrypted file.
SkipFile determines if file will be skipped. Set SkipFile to True if you want to skip this file. Default value for SkipFile is False.