Table of Contents

TAdvCustomFormDesigner.AddControl Method

Adds a control to the current selection in the form designer.

Remarks

Call AddControl to select the specified control in the designer. To multi-select several controls in the designer, call AddControl for each control you want to select. For non-visual components, use AddComponent instead, unless you specify the TComponentContainer control that wraps the non-visual component you want to select.

Syntax

Unit: FormDesigner

procedure TAdvCustomFormDesigner.AddControl(AControl: TControl);

Parameters

<-> Parameter Type Description
AControl TControl The control to be selected.

See also