Skip to main content
Table of Contents

TTMSFNCUtils.Clone Method

Creates and returns a deep clone of AComponent by streaming its published properties.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function Clone(AComponent: TComponent): TComponent;
__classmethod System::Classes::TComponent* __fastcall Clone(System::Classes::TComponent* AComponent);

Parameters

Name Description
AComponent Component to clone.

Returns

New component instance with the same published property values. The caller is responsible for freeing it.