Table of Contents

TComponentContainer Class

Container control for non-visual components in designer

Remarks

TComponentContainer is a visual control used as a visual representation for the non-visual controls in the designer. When end-user moves a non-visual control in form, he/she is actually moving a TComponentContainer control. A reference to the real non-visual component being "edited" is provided in the Component property.

Syntax

Unit: FormDesigner

TComponentContainer = class(TCustomControl);

Constructors

Name Description
CreateWithComponent Creates the component container component with the initial data.

Methods

Name Description
UpdateContainer Performs visual update of the control, like for example the caption below the control showing the component name.

Properties

Name Description
Component The component represented by the TComponentContainer.​