Calling methods within a TList
Posted on 2000-03-29
My TList contains a list of TTimeRecord objects, the TTimeRecord objects contain sevgeral properties and methods (Read and write). What I want to be able to do is call the methods and access the properties of a particular item in the TList by calling the TList such as:
I know I can create an instance of the TTime Record and point this to the item in the TList and call it that way but this seems messy and I'm sure you should be able to do it directly in the same way as you would call an array.
Of course the TList doesn't know it's a list of TTimeRecord so this me be the problem.
Any ideas how to do this?