e-CryptIt Engine - Compression Xojo Plugin

ZipArchive.ProgressDelegate Delegate (console safe)

Delegate for progress parameter callbacks.

ProgressDelegate(
   fileName as String,
   currentValue as UInt64,
   total as UInt64,
   ByRef cancel as Boolean)

Parameters

fileName
File name of the file currently getting processed.
currentValue
Current value of the progress.
total
Total value for the progress.
cancel (ByRef parameter)
ByRef parameter to cancel the task by setting this one to true inside the callback.

Remarks

You will need to do App.DoEvents or other similar ways in your callback when you want to update user-interface since the compressor will run in tight process.

See Also

ZipArchive Class