|
@@ -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);
|