Table of Contents

TAdvCustomFormDesigner.DeleteComponent Method

Removes a non-visual component from the current selection in the form designer.

Remarks

Call DeleteComponent to unselect 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.DeleteComponent(AComponent: TComponent);

Parameters

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

See also