Table of Contents

TAdvCustomFormDesigner.AutoPlaceComponent Method

Finishes a component placing operation and inserts the control centered in currently selected control.

Remarks

Call AutoPlaceComponent to finish a component placing operation started with PlaceComponentClass or PlaceComponentClassName. The component is automatically inserted in the form. If the component is a control, it will be inserted as child of the currently selected control, or as a child of the form, it no control is selected. The control is placed in the center of the parent control.

Syntax

Unit: FormDesigner

procedure TAdvCustomFormDesigner.AutoPlaceComponent;

See also