Skip to main content
Table of Contents

TTMSFNCDataGridProgressBarCellControlInfo.CopyInstance Method

Creates a new control info with the same field values.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridProgressBarCellControlInfo Inherited from: TTMSFNCDataGridCellControlInfo

Overloads

Overload 1

Creates a new control info with the same field values.

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.

Overload 2

Creates a new TTMSFNCDataGridProgressBarCellControlInfo instance that is a deep copy of this cache key.

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

Returns

A new progress-bar control info copy; the caller is responsible for freeing it.