Patrick Shepherd ha scritto:
Sorry for such a simple question but I'm just getting back to programming
(as a hobby). Haven't done much since TP5.
Anyway, if I create a component eg TPanel during runtime and set it's owner
property to a form, do I have to write code to free the panel or is there
already code in the forms destructor to free owned classes?
AFAIK the form destructor takes care freeing all children components.
Happy coding,
Giuliano
--
Giuliano Colla
Whenever people agree with me, I always feel I must be wrong (O. Wilde)
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives