I inherited TObjectList, and used TList.Notify to work with my own hash list in the list, I need to recive deleted item before freed by Object List that own that items.
lnDeleted is call after this item really deleted and freed, I think we need new one "lnDeleting" to call before deleting the item.
procedure TList.Delete(Index: Integer);
var P : pointer;
begin
P:=FList.Get(Index);
if assigned(p) then
Notify(p, lnDeleting);
FList.Delete(Index);
if assigned(p) then
Notify(p, lnDeleted);
end;
Thank in advance.