RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDockManager.RemoveControl Method

Handles the undocking of a control from the associated container control.

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

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

Control is the control that was just undocked. 

RemoveControl performs any internal adjustments that are needed now that the control is no longer docked, forcing a repaint of the container control if necessary. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!