Vcl.Controls.TDockTree.SetReplacingControl

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also