RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCollection Methods

The methods of the TCollection class are listed here.

 
Name 
Description 
 
Responds when items are added to the collection. 
 
Responds when the collection or any of its items changes. 
 
Responds when items are deleted from the collection. 
 
Returns the name of a custom attribute that can be retrieved using the GetItemAttr method. 
 
Returns the number of custom attributes associated with items in the collection. 
 
Returns a specified item in the collection. 
 
Returns the value of a custom attribute assigned to one of the collection's items. 
 
Responds when items are added to or removed from the collection. 
 
Copies the properties of another item to a specified item in the collection. 
 
Initializes the name of a newly inserted collection item. 
 
Updates the collection to reflect changes to its items. 
 
Name 
Description 
 
Add 
Creates a new TCollectionItem instance and adds it to the Items array. 
 
Copies the contents of another collection to the object where the method is executed. 
 
Suspends screen repainting. 
 
Deletes all items from the collection. 
 
Deletes a single item from the collection. 
 
Re-enables screen repainting. 
 
Returns the item with the specified ID. 
 
Returns a TCollection enumerator. 
 
Returns a string used by the Object Inspector. 
 
Creates a new TCollectionItem instance and adds it to the Items array. 
 
Returns the Owner of the collection. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!