Rob Kennedy wrote: > If you want destruction of one component to cause the destruction of > other components, then that one component should be the owner of the others. > > That's TRUE. So, I set the owner of TFormGrid to MainForm like this:
TFrmGrid.Create(MainForm) but the program still crash in the same place when I close it. __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk