Table of Contents

TAdvCustomFormDesigner.AddComponent Method

Adds a non-visual component to the current selection in the form designer.

Remarks

Call AddComponent to select the specified component in the designer. Only use this method for non-visual components, if the component is a visual control, do not use AddComponent, use AddControl instead.

Syntax

Unit: FormDesigner

procedure TAdvCustomFormDesigner.AddComponent(AComponent: TComponent);

Parameters

<-> Parameter Type Description
AComponent TComponent The component to be selected.

See also