[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Replaces a previously docked control.
Source position: controls.pp line 1626
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 the DockManager for NoteBook docking. It should not be used in application code.
Delphi introduced a different method, DockReplaceDockClient, which is used when the replaced Control is in an unmanaged docksite.
|
Docks a control programmatically. |
Version 3.2 | Generated 2024-02-25 | Home |