I have a main TList that has all my objects in it. Then I have a second TList that I'm using to also track the same objects that are in a certain state.
The problem is how do I get a specific object in a list so I can alter it's properties? I see the MyList.Last command but I'm not sure how I can actually get the last item. If I do a f:MyObject = MyList.Last it doesn't work. So basically the question is what is the correct syntax for getting an object from the list so I can change it's properties.
Any help is appreciated.
The problem is how do I get a specific object in a list so I can alter it's properties? I see the MyList.Last command but I'm not sure how I can actually get the last item. If I do a f:MyObject = MyList.Last it doesn't work. So basically the question is what is the correct syntax for getting an object from the list so I can change it's properties.
Any help is appreciated.