Contents - Index - Previous


OnUpdate event

 

Applies to

TVCLZip component

 

Declaration

property OnUpdate: TUpdateEvent = procedure(Sender: TObject; UDAction: TUpdateAction; FileIndex: Integer); of object;

 

Description

The OnUpdate event is fired only when updating or freshening an existing archive.  It will be called for each file that is already in the archive and the UpdateAction will be passed in.  Each file will either be kept as is (uaKeeping) or replaced by a newer file (uaReplacing).

  

If a file is being saved, OnFilePercentDone and OnTotalPercentDone will also be called to show progress of the copy.