git-svn-id: trunk@26721 -
This commit is contained in:
michael 2014-02-08 11:39:31 +00:00
parent ddda356ee8
commit 68429834a7

View File

@ -33,7 +33,6 @@ begin
begin begin
If FCollection<>Nil then FCollection.RemoveItem(Self); If FCollection<>Nil then FCollection.RemoveItem(Self);
if Value<>Nil then Value.InsertItem(Self); if Value<>Nil then Value.InsertItem(Self);
FCollection:=Value;
end; end;
end; end;
@ -203,6 +202,7 @@ begin
If Not(Item Is FitemClass) then If Not(Item Is FitemClass) then
exit; exit;
FItems.add(Pointer(Item)); FItems.add(Pointer(Item));
Item.FCollection:=Self;
Item.FID:=FNextID; Item.FID:=FNextID;
inc(FNextID); inc(FNextID);
SetItemName(Item); SetItemName(Item);