I have a开发者_运维问答 TObject list (FileEventObjects := TObjectList.Create(True);) containing one or more objects. The objects need to stay in the list until they are processed. (The object list exi
*Summarization: Please check the knowledgeable comments from the Delphi experts. Specifically for me, I would try to use old TList/TObjectList as David suggested, and use hard-cast and TObjectList.Li
Summarization: TList.IndexOf (TList defined in the unit Classes.pas) iterates linearly through the contained items, and compares the reference. TList.IndexOf (TList defined in the unit Generics.Colle
I\'ve created a class like TMyClass = class(TObject) private FList1: TObjectList<List1>; FList2: TObjectList<List2>;