On 11/04/2010 15:26, Martin wrote:

what needs to be done, is that any TComponent, that:
- has other TComponents
actually, skip that.
- and offers them through a property (published, public, private, any) (or even just stores it in a memebr-var)

any component to which a reference is stored in a variable.

must request a FreeNotification
=> so it can clear the variable/property if the component is destroyed

There may be exception, but that is the save way

Martin


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to