Contents - Index - Previous - Next
OnBadPassword Event
Applies to
TVCLUnZip component
Declaration
property OnBadPassword: TBadPassword = procedure(Sender: TObject; FileIndex: Integer; var NewPassword: string); of object;
Description
The OnBadPassword event handler is triggered whenever an attempt is made to extract an encrypted file with an incorrect password. If you wish to RETRY with a new password, then set NewPassword to the desired password. If you do not set NewPassword to a new password then the file will be skipped, possibly also resulting in a call to the OnSkippingFile Event.
See Also: