[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Replaces a previously docked control.
Source position: controls.pp line 1479
public function TControl.ReplaceDockedControl( |
Control: TControl; |
NewDockSite: TWinControl; |
DropControl: TControl; |
ControlSide: TAlign |
):Boolean; |
Control |
|
The control to be replaced, will be docked into NewDockSite. |
NewDockSite |
|
The new dock site for Control, typically a docking Notebook. |
DropControl |
|
The control to which Control is docked. |
ControlSide |
|
The side of DropControl, to which Control is docked. |
True if the docked control has been successfully replaced.
This method exists for use by an DockManager, for NoteBook docking. It should not be used in application code.
Delphi has introduced another method DockReplaceDockClient, which is used when the replaced Control is in an unmanaged docksite.
|
Docks a control programmatically. |
lazarus-ccr.sourceforge.net |