Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

FlexCompress.OnFileProgress

FlexCompress

Previous  Top  Next

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

 

[C#]
public event OnFileProgressDelegate OnFileProgress;

public delegate void OnFileProgressDelegate(object sender, string fileName, double progress, ProcessOperation operation, ProgressPhase progressPhase, bool cancel);

 

[VB.NET]

Public Event OnFileProgress As OnFileProgressDelegate

Public Delegate Sub OnFileProgressDelegate(ByVal sender As Object, ByVal fileName As String, ByVal progress As Double, ByVal operation As ProcessOperation, ByVal progressPhase As ProgressPhase, ByVal cancel As Boolean)

 

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 parameter 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 22, 2024