RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlCollection.RemoveControl Method

Removes all control items in the collection with the specified control property.

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

Call RemoveControl to remove all control items in the Items array with the control property equal to the given AControl parameter. The Items array is subsequently updated by moving up any items that come after the deleted ones. 

 

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