RAD Studio VCL Reference
|
Lists the classes in the TClassList.
property Items [Index: Integer]: TClass;
__property TClass Items[int Index];
Use Items to access classes in the list. Items is a zero-based array: The first class is indexed as 0, the second class is indexed as 1, and so forth. You can read or change the value at a specific index, or use Items with the Count property to iterate through the list.
Items can contain empty class references. To remove empty references and reduce the size of the array, call the Pack method.
RegisterClass(ClassList1.Items[i]); RegisterClass(ClassList1[i]);
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|