Hi
I'm raising an exception in the constructor for an form which is an mdichild after the child has been added to the window. The object is not created and the exception is returned to the parent nicely.
Unfortunately the mdichildren array is causing me problems as soon as I look at it. Is there a way to force this to be cleaned up?
Regards
Darren
Could you detect the error and raise the exception before adding the child to the MDI window? I've found that MDI is rather fragile and doesn't deal with unexpected outcomes well.