Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
TZipForge.OnFileProgress
TZipForge
Top 


Occurs when archive operation with a file updates a progress indication value.

type TZFFileProgressEvent = procedure(
Sender:    TObject;
FileName:    String;
Progress:    Double;
Operation:    TZFProcessOperation;
ProgressPhase: TZFProgressPhase;
var Cancel:    Boolean
) of object;
property OnFileProgress: TZFFileProgressEvent;

Description

Write an OnFileProgress event handler to display progress of the current operation or
to cancel it. OnFileProgress event is triggered by AddFiles, MoveFiles, UpdateFiles, DeleteFiles, TestFiles or ExtractFiles when current archive operation with a file updates a progress indication value.

The Sender parameter is the object whose event handler is called.

FileName indicates current file name.

Progress indicates progress for the current operation in percents.

Operation indicates current archive operation.

Cancel determines if current operation on the current file should be cancelled. Set Cancel to True if you want to cancel executing of the current operation on the file. Default value for Cancel is False.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Dec 04, 2024 
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Dec 04, 2024