Table of Contents

TAdvCustomFormDesigner.CreateComponentClass Method

Creates a new component instance of the specified component class, owned by the current form being edited.

Syntax

Unit: FormDesigner

function TAdvCustomFormDesigner.CreateComponentClass(AComponentClass: TComponentClass): TComponent;

Parameters

<-> Parameter Type Description
AComponentClass TComponentClass class of the component to be created.

Returns

The instantiated component.

See also