tobjectlist
Delphi Remove an object from a TObjectList
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[详细]
2023-03-16 13:37 分类:问答How noticeable is the difference of performance among TList, TObjectList, and plain array, if it could be estimated?
*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[详细]
2023-02-17 11:49 分类:问答Can I pass in one function for TObjectList.IndexOf, and another function for TObjectList.Sort?
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[详细]
2023-02-16 15:46 分类:问答Delphi: generics and TObjectList
I\'ve created a class like TMyClass = class(TObject) private FList1: TObjectList<List1>; FList2: TObjectList<List2>;[详细]
2022-12-09 14:36 分类:问答