Vcl.Controls.IDockManager.SetReplacingControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetReplacingControl(Control: TControl);

C++

virtual void __fastcall SetReplacingControl(TControl* Control) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls IDockManager

Description

Prepares the dock manager for replacing one docked control with another.

SetReplacingControl is called from a control's ReplaceDockedControl method. It informs the dock manager that the next control that is removed will be immediately replaced by a different control. It allows the dock manager to optimize the work of the RemoveControl and InsertControl methods.

See Also