Skip to main content
Table of Contents

TTMSFNCDataGridDataFormatting Record

Describes how one cell value is turned into display text: the conversion type, a format string, and the texts used for Boolean values.

API unit family: TMSFNCDataGridData

Syntax

GeneratedPascalC++
TTMSFNCDataGridDataFormatting = record
struct DECLSPEC_DRECORD TTMSFNCDataGridDataFormatting

Remarks

A descriptor is passed by reference to TTMSFNCDataGridData.OnGetCellFormatting, initialized to gdftDefault with an empty format and empty Boolean texts. The descriptor affects only the displayed text; the stored cell value is not changed. Empty cell values are never formatted.

Fields and properties

Name Type Description
BooleanFalseText string Text displayed for a False value when Type is gdftBoolean.
BooleanTrueText string Text displayed for a True value when Type is gdftBoolean.
Format string Format string applied to the value; its syntax depends on Type (see TTMSFNCDataGridDataFormattingType). Empty uses the default conversion for that type.