TOwnedCollection = class(TCollection)
class PASCALIMPLEMENTATION TOwnedCollection : public TCollection
TOwnedCollection is a collection that maintains information about its owner.
By maintaining information about its owner, TOwnedCollection lets the Object Inspector display the collection's name at design time.
Note: This information is not part of TOwnedCollection's public interface.
New collection classes should descend from TOwnedCollection. By descending from TOwnedCollection, the derived class does not need to add anything in order to appear in the Object Inspector. Classes that descend directly from TCollection must implement a GetOwner method if they are to appear in the Object Inspector.