RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TNotifyList.Items Property

Lists the objects in this collection.

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

Use Items to reference an object in the list. Each item is an object that supports an interface that allows the associated component to inform it of changes. For example, objects in the TNotifyList collection maintained by an adapter support the INotifyAdapterChange interface.  

Index is the index of the object, where 0 specifies the first item, 1 specifies the second item, and so on. The Count property gives an upper bound for this index.

Note: In Delphi, Items is the default property of TNotifyList. That means the property name may be omitted in code.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!