Skip to main content
Table of Contents

TTMSFNCDataGridCellControlInfo.CopyInstance Method

Creates a new control info with the same field values.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridCellControlInfo

Syntax

FMX.TMSFNCDataGridCell.hppPascalC++
function CopyInstance: TTMSFNCDataGridCellControlInfo; virtual;
virtual TTMSFNCDataGridCellControlInfo* __fastcall CopyInstance();

Remarks

The base implementation always creates a TTMSFNCDataGridCellControlInfo; descendants override it to return their own class.

Returns

A new instance; the caller owns it and must free it.