TDockManager.SetReplacingControl procedure
Specifies the control to be replaced subsequently.
Declaration
procedure SetReplacingControl(Control: TControl); virtualArguments
Control | The control to be replaced later. |
Description
This method is called by ReplaceDockedControl, to announce a
pending replacement of Control by another control. The next
RemoveControl should be ignored, and InsertControl
should only exchange the controls, without reorganizing the layout of the
docksite. When Control is Nil, this call signals the end of
the exchange [obsolete].
The name "SetReplacingControl" is a misnomer, it should read
"SetControlToBeReplaced".
The intended purpose of this method is the replacement of a docked control by a Notebook, preserving the DockZone. This operation should be handled by an DockManager internally, and calls to this method should be ignored.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
