I am creating a panel at design time and then on that panel I am creating labels and edit boxes. All of the labels and edit boxes have the panel as a parent.
Anyway, my question is: when I come to close the form, I am calling Free for the panel but not for its child components. Is this OK or am I wasting the resources used by these components? Do I need to free each of them in turn or can I just free the panel and its children will be dealt with?