if you do this..
Create a TItemProp and populate it with all its inners etc.. and then do this..
ValueListEditor.ItemProps
- := ANewlyCreatedItemProp;
it uses this..
procedure TValueListEditor.SetItemProp(const AKeyOrIndex: Variant; AValue: TItemProp);
begin
FStrings.GetItemProp(AKeyOrIndex).Assign(AValue);
end;
As you can see, it is assigning.. not replacing.
There is an Assign that can do this and thus not take claim.
When I create a TitemProp.Create(ValueListEditorInstant) and use the := , it does work
because it simiply assigns the values.
But using HeapTrc, it leads to massive memory leaks. because the ItemProp I made never gets freed
apparently there is a ready made ItemProp for each entry in the list which is fine but it would be nice
however, if you are assigning the owner to it that it should be getting released!