procedure RemoveControl(AControl: TControl);
void __fastcall RemoveControl(TControl* AControl);
Removes a specified control from the Controls array.
RemoveControl removes a child control from the Controls property. After calling RemoveControl, the control is no longer the parent of the child specified by the AControl parameter.
Applications should not call RemoveControl directly. Child controls are automatically inserted and removed when added or deleted at design time. At runtime, use the Parent property of the child control to remove it from the Controls array.