RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesignerSelections.Items Property

Provides indexed access to the objects in the list.

Pascal
property Items [Index: Integer]: TPersistent;
C++
__property TPersistent * Items[int Index];

Use Items to access a specific object in the list. The Index parameter indicates the index of the object, where 0 is the index of the first object, 1 is the index of the second object, and so on. Use Items with the Count property to iterate through all of the objects in the list. 

To add objects to the Items array, use the Add method. Once objects have been added, they can't be deleted or rearranged. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!