I'm trying to create an object derived from TList that will act as a container for other objects.
For example the object TEmails would be derived from TList. The objects in TEmails would be TMessage objects, derived from TObject.
How do I create TMessage objects by using Add from TEmails (TList) at runtime and how could I access their properties and methods?
Can you help me with an example?