[Lazarus] RFH: AV when deleting TAChart from the form

Martin lazarus at mfriebe.de
Sun Apr 11 16:28:41 CEST 2010


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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list