RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockTree.RemoveControl Method

Handles the undocking of a control from the associated DockSite.

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

The windowed control that uses the dock tree calls RemoveControl when one of its docked controls is undocked. 

Control is the control that was just undocked. 

RemoveControl adjusts the dock tree's internal structures to indicate that the control is no longer docked, changes the control's DockOrientation property to doNoOrient, and calls DockSite's Invalidate method so that the region will be repainted. 

 

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