Skip to main content
Table of Contents

TTMSFNCDataGridCellItemHelper Class

Class helper that adds IsExtended and AsExtended convenience properties to TTMSFNCDataGridCellItem.

API unit family: TMSFNCDataGridCell

Syntax

GeneratedPascalC++
TTMSFNCDataGridCellItemHelper = class
class PASCALIMPLEMENTATION TTMSFNCDataGridCellItemHelper : public System::TObject

Remarks

Check IsExtended before reading AsExtended: the cast raises an exception for a plain cell item.

Examples

Pascal
ci := Grid.CellData[1, 2];
if Assigned(ci) and ci.IsExtended then
ci.AsExtended.Hint := 'Checked by QA';

Properties

Name Description
AsExtended Returns this item typed as TTMSFNCDataGridCellItemExtended.
IsExtended True when this cell item is a TTMSFNCDataGridCellItemExtended.