Skip to main content
Table of Contents

TTMSFNCDataGridIconSetSettings Class

Icon-set configuration used by a grtIconSet rule, painted as a cell overlay.

API unit family: TMSFNCDataGridConditionalFormatting Inherits from: TPersistent

Syntax

GeneratedPascalC++
TTMSFNCDataGridIconSetSettings = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridIconSetSettings : public System::Classes::TPersistent

Remarks

Owned by TTMSFNCDataGridFormatRuleItem.IconSet; never free it yourself. Raises OnChange whenever a setting actually changes so the owning rule can invalidate its cells. The icon index for a cell is computed by dividing the scope's minimum..maximum range into IconCountForKind equal-width bands; only numeric cells get an icon. The glyph is drawn at the right edge of the cell.

Properties

Name Description
Kind The predefined icon family to draw. Default is gisArrows3.
Reverse When True, the icon-to-threshold mapping is reversed, so the highest values get the lowest-band icon. Default is False.
ShowValue When True, the cell's text value is drawn alongside the icon. Default is True.

Events

Name Description
OnChange Occurs after any published setting changes.

Used by