Skip to main content
Table of Contents

TTMSFNCDataGridDataGetCellFormattingEvent Event Type

Fired before a cell value is converted to display text, so the handler can choose the formatting.

API unit family: TMSFNCDataGridData

Remarks

Fires after an attached data adapter has applied its formatting. Empty values are never formatted. The resulting text can still be replaced in TTMSFNCDataGridDataGetCellDisplayValueEvent.

Parameters

Name Description
Sender Data object that formats the value.
ACell Column and row of the cell.
AData Raw cell value.
AFormatting Formatting descriptor, initialized to gdftDefault with an empty format. Set its type and format to control the conversion.
AConvertSettings Locale settings used to convert and format the value; initialized to the data object's format settings.
ACanFormat Initialized to True for normal cells and False for fixed cells. Set it to False to show the plain text value, or True to format a fixed cell.