have a doubt regarding which implementation is best, inheriting
TCollection, TObjectList or inheriting from TObject and using a property of
TList and expose functionality related to Add, Get etc.
With TCollection, the problem is that one has to write a TCollectionItem and
then the collection is bound with that Item only, you cannot have different
type of collections for different items.

I basically want to compare the pros and cons of these implementations, what
issue should I consider if I inherit from TObjectList to create a list as
compared to having a private property of TList kind

Any suggestions would be extremely helpful

ThanX
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to