procedure InsertControl(Control: TControl; InsertAt: TAlign; DropCtl: TControl);
virtual void __fastcall InsertControl(TControl* Control, TAlign InsertAt, TControl* DropCtl) = 0 ;
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.