On So, 2013-09-15 at 15:54 +0100, Martin wrote: > On 15/09/2013 15:24, Marc Santhoff wrote: > > I can, but then I'd have to choose one of two solutions I don't like: > > having to free the automatically created TApplication object or change > > forms.pp. > > Create a descendant of TComponent, and have it owned by the application, > that should take care of it
For having one class aggregating all other items, yes. Nice Idea, so construction and destruction will be handled cleanly. :) -- Marc Santhoff <[email protected]> -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
