Table of Contents

TTMSFNCDataGridExcelIO.OnDateTimeFormat Event

Fired for each cell during import to allow the application to override the date/time format string.

API unit family: TMSFNCDataGridExcelIO Declaring type: TTMSFNCDataGridExcelIO

Syntax

OnDateTimeFormat: TFlxFormatCellEvent;

Parameters

Name Description
Sender Excel IO component that fired the event.
DataGridCol Zero-based DataGrid column index.
DataGridRow Zero-based DataGrid row index.
XlsCol One-based worksheet column index.
XlsRow One-based worksheet row index.
Value Cell value being converted.
DateFormat Date format string to use for conversion.
TimeFormat Time format string to use for conversion.