How to access a object property of type TList<> (generic collection)?

I have some classes like this:

TClassA = class

end;

TClassB = class

property Items: TList<TClassA> read FItems;

end;

I added an instance of TClassB to the script, but I can't use properties like Count or Items[index] to implement a loop.

Leave a Comment