Vcl.Controls.IDockManager.InsertControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InsertControl(Control: TControl; InsertAt: TAlign;  DropCtl: TControl);

C++

virtual void __fastcall InsertControl(TControl* Control, TAlign InsertAt, TControl* DropCtl) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls IDockManager

Description

Handles the docking of a control into the associated container control.

InsertControl is called immediately after the container control that uses the dock manager adds a new control to its list of docked controls.

Control is the newly docked control.

InsertAt indicates where Control was docked within the container control.

DropCtl is the container control in which Control was docked.

InsertControl handles any tasks where the dock manager needs to manage the layout and appearance of docked controls, forcing a repaint of the container control, if necessary.

See Also