Quote Originally Posted by masonwheeler
I've got a frame on a form, and the frame contains a panel. Perfectly ordinary TFrame, TForm and TPanel components--not custom components or anything--created at design-time, not set up dynamically at runtime. But when I try to close the program, I sometimes (not always) get an endless loop of "Control panel1 has no parent window!" boxes. Even setting "panel1.parent := self" in the frame's destructor doesn't fix it.

Anyone have any idea what's going on, why it doesn't happen consistently, and how to stop it?

Mason
can you paste your code for freeing the objects?