RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponentList Members

The following tables list the members exposed by TComponentList.

 
Name 
Description 
 
Get 
This is Get, a member of class TList. 
 
This is GetItem, a member of class TObjectList. 
 
This is GetItems, a member of class TComponentList. 
 
Grow 
This is Grow, a member of class TList. 
 
This is HandleFreeNotify, a member of class TComponentList. 
 
Responds when items are added, removed, or extracted from the list. 
 
Put 
This is Put, a member of class TList. 
 
This is SetCapacity, a member of class TList. 
 
This is SetCount, a member of class TList. 
 
This is SetItem, a member of class TObjectList. 
 
This is SetItems, a member of class TComponentList. 
 
Name 
Description 
 
Add 
Inserts a component at the end of the list. 
 
Responds after the last constructor has executed. 
 
Copies elements of one list to another. 
 
Responds before the first destructor executes. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Deletes all items from the list. 
 
Constructs an object and initializes its data before the object is first used. 
 
This is the overview for the Create constructor overload. 
 
Provides the interface for a method that processes message records. 
 
Removes the item at the position given by the Index parameter. 
 
Destroys an instance of TComponentList
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
This is the overview for the Error method overload. 
 
Swaps the position of two items in the Items array. 
 
Increases the Capacity of the list. 
 
Removes a component from the list. 
 
Returns the address of a published object field. 
 
Finds the first instance of a specified class in the list. 
 
Returns Items[0]. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Returns a TList enumerator. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns the index of the first component in the list with a specified value. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Adds a component to the list at a specified position. 
 
Returns the size in bytes of each instance of the object type. 
 
Last 
Returns the component at the end of the Items array. 
 
This is MethodAddress, a member of class TObject. 
 
This is MethodName, a member of class TObject. 
 
Move 
Changes the position of an item in the Items array. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Pack 
Deletes all nil (Delphi) or NULL (C++) items from the Items array. 
 
Removes a specified component from the list and (if OwnsObjects is true) frees the component. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Sort 
Performs a QuickSort on the list based on the comparison function Compare. 
 
Name 
Description 
 
Specifies the allocated size of the array of pointers maintained by the TList object. 
 
Indicates the number of entries in the list that are in use. 
 
Lists the component references. 
 
List 
Specifies the array of pointers that make up the Items array. 
 
Allows TObjectList to free objects when they are deleted from the list or the list is destroyed. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!