RAD Studio VCL Reference

Increases the Capacity of the list.
function Expand: TList;
__fastcall TList Expand();
Call Expand to create more space for adding new items to the list. Expand does nothing if the list is not already filled to Capacity.
If Count = Capacity, Expand increases the Capacity of the list as follows. If the value of Capacity is greater than 8, Expand increases the Capacity of the list by 16. If the value of Capacity is greater than 4, but less than 9, the Capacity of the list increases by 8. If the value of Capacity is less than 4, the Capacity of the list grows by 4.
The returned value is the expanded list object.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.

What do you think about this topic? Send feedback!
