RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlCollection.Add Method

Creates a new TCollectionItem instance and adds it to the Items array.

Pascal
function Add: TControlItem;
C++
__fastcall TControlItem Add();

Call Add to create an item in the collection. The new item is placed at the end of the Items array. 

Add returns the new collection item. 

 

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