Skip to main content
Table of Contents

TTMSFNCDataGridExcelIO.OnProgress Event

Occurs during import and export to report progress.

API unit family: TMSFNCDataGridExcelIO Declaring type: TTMSFNCDataGridExcelIO

Syntax

FMX.TMSFNCDataGridExcelIO.hppPascalC++
OnProgress: TTMSFNCDataGridIOProgressEvent;
__property TTMSFNCDataGridIOProgressEvent OnProgress = {read=FOnProgress, write=FOnProgress};

Remarks

Raised once per row on import and once per cell on export, so keep the handler light (for example, update a progress bar only when RowNum changes).

Parameters

Name Description
Sender Excel IO component performing the operation.
SheetNum One-based index of the sheet being processed (always 1).
SheetTot Number of sheets being processed (always 1).
RowNum Zero-based number of rows processed so far, relative to the start row.
RowTot Value of RowNum for the last row.