Vcl.Controls.TDockTree.SetReplacingControl
Delphi
procedure SetReplacingControl(Control: TControl);
C++
void __fastcall SetReplacingControl(TControl* Control);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDockTree |
Description
Prepares the dock tree for replacing one docked control with another.
SetReplacingControl is called from a control's ReplaceDockedControl method. It informs the dock tree that the next control that is removed will be immediately replaced by a different control. It allows the dock tree to optimize the work of the RemoveControl and InsertControl methods.