RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDockManager.SetReplacingControl Method

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

Pascal
procedure SetReplacingControl(Control: TControl);
C++
__fastcall SetReplacingControl(TControl * Control);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!