RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TList Methods

The methods of the TList class are listed here.

 
Name 
Description 
 
Get 
This is Get, a member of class TList. 
 
Grow 
This is Grow, a member of class TList. 
 
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. 
 
Name 
Description 
 
Add 
Inserts a new item at the end of the list. 
 
Copies elements of one list to another. 
 
Deletes all items from the list. 
 
Removes the item at the position given by the Index 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 specified item from the list. 
 
Returns Items[0]. 
 
Returns a TList enumerator. 
 
Returns the index of the first entry in the Items array with a specified value. 
 
Adds an object to the Items array at the position specified by Index. 
 
Last 
Returns Items[Count - 1]. 
 
Move 
Changes the position of an item in the Items array. 
 
Pack 
Deletes all nil (Delphi) or NULL (C++) items from the Items array. 
 
Deletes the first reference to the Item parameter from the Items array. 
 
Sort 
Performs a QuickSort on the list based on the comparison function Compare. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!