Just add the objects to the 2nd list. Say you have list1 with 100 items, and want list2 to have the first 10 items.
for i := 0 to 9 do list2.add(list1.items[i]) or in your case for i := 0 to (list1.count-1) do if TObject(list1.items[i]) is TOnlyTheseObjects then list2.add(list1.items[i]) Be aware though that if you free one of the objects, you need to remove them from both lists. > > The second object handles ONLY the objects of a certain kind. And mostly, > what it does is provide an interface to the rest of the application. > > How do i accomplish this? > > regards > > Tim > > > _______________________________________________ > Delphi mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

