On Wednesday, 27 April 2011, <michael.vancanneyt@******> wrote: > > > On Wed, 27 Apr 2011, Alexander Klenin wrote: > > http://bugs.freepascal.org/view.php?id=16035 > > > But what does this have to do with the problem you mention in FreeAndNil ? >
>From that bug report it looks like a bug in TAChart, not in FreeAndNil(). I have written a crap load of components in my time, including composite components, and never had a problem with freeing children or subcomponents. You just need to do it in the right order, and obviously not reference something that is already free'd. regards, Graeme -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
