TControl.ReplaceDockedControl function
Replaces a previously docked control.
Declaration
function ReplaceDockedControl(Control: TControl;
NewDockSite: TWinControl;
DropControl: TControl; ControlSide: TAlign)
: BooleanArguments
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. |
Function result
True if the docked control has been successfully replaced.Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
