JVCL Help:TJvCABFile.OnStartFileExtraction

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs before extracting a file from the cabinet file.


Pascal

 TOnExtractFile = procedure (Sender: TObject; FileName: string; DestPath: string) ofobject;
propertyOnStartFileExtraction: TOnExtractFile;


Parameters

Parameters Description
DestPath Represents the full path and file name where extracted file information will be stored.
FileName The full path and file name for the member to be extracted from the cabinet file.
Sender Object context for the event notification. Generally contains the TJvCABFile instance to be signaled from the callback function.


Description

OnStartFileExtraction is a TOnExtractFile property that represents the event handler signaled prior to extracting a specified file from the cabinet file. OnStartFileExtraction is signaled in the internal extract callback function when the SPFILENOTIFY_FILEINCABINET notification is received, and the output file name has been constructed using the destination path and file name in the cabinet file. OnStartFileExtraction can be used to perform updates prior to performing the file operation for the selected file in the cabinet file. Applications must assign a procedure to the event handler to allow responding to the event notification.


See Also

TJvCABFile.ExtractFile, TJvCABFile.ExtractAll, TJvCABFile.OnFileExtracted


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page