Position DropCtl relative Control, using the alignment specified by InsertAt.
Source position: controls.pp line 652
public procedure TDockManager.InsertControl( |
ADockObject: TDragDockObject |
); virtual; overload; |
Control: TControl; |
InsertAt: TAlign; |
DropCtl: TControl |
); virtual; abstract; overload; |
ADockObject |
|
The DragDockObject holding all information about the drag-dock operation. |
Control |
|
The control relative to which insert. |
InsertAt |
|
How to insert relative to Control. |
DropCtl |
|
The control to insert. |
InsertControl determines the placement of the just docked control, forcing a repaint of the container control if necessary.
Remark: | When SetReplacingControl has been called with a non-Nil Control before, the dropped control only should replace that control. |
An overloaded version passes the DragDockObject to the dockmanager, allowing to pass more information about the drop. It allows one to implement other than tree-style docksites.
|
Removes the undocked control from the docksite layout. |
CT Web help |
CodeTyphon Studio |