I haven't found any good examples which indicate this can be done (or is smart to do), so I'm going to ask. Let's say I have:
TParent
TChild1
TChild2
etc
Where each child is distinct in some way. Now, what I have in mind is to bind them together into a TParentList (descendent from TList). Then when the TParentList is iterated, call a method which has been given the "virtual" label (of course to be defined by each child). Note the TParentList would always hold TChild of some description.
Is this possible, and moreover is it smart?
TParent
TChild1
TChild2
etc
Where each child is distinct in some way. Now, what I have in mind is to bind them together into a TParentList (descendent from TList). Then when the TParentList is iterated, call a method which has been given the "virtual" label (of course to be defined by each child). Note the TParentList would always hold TChild of some description.
Is this possible, and moreover is it smart?