Crash when Hide/Show in MDI window
Posted: Tue Dec 01, 2009 7:36 pm
Hello,
In the latest released version I could download (4.0.2009.35592) I have a problem that was not there some time ago. I have a C# MDI application that I allow the user to Hide/Show the MDI windows. In one of the windows I have a TeeChart object, when created... all is OK, I can then Hide the window (by simply hiding the charts parent MDI window)... all is OK, but when I show the window the app crashes. If I remove the chart object, all is OK.
I have now created an new application set the main form to IsMDIContainer property to true, then created a child form progmatically and set the MDIParent property of the child form to that of the main form. The behaviour is exactly the same, when the window hidden, then shown again, the program crashes. I can send this test application if it would help...
Thanks,
Bradley
In the latest released version I could download (4.0.2009.35592) I have a problem that was not there some time ago. I have a C# MDI application that I allow the user to Hide/Show the MDI windows. In one of the windows I have a TeeChart object, when created... all is OK, I can then Hide the window (by simply hiding the charts parent MDI window)... all is OK, but when I show the window the app crashes. If I remove the chart object, all is OK.
I have now created an new application set the main form to IsMDIContainer property to true, then created a child form progmatically and set the MDIParent property of the child form to that of the main form. The behaviour is exactly the same, when the window hidden, then shown again, the program crashes. I can send this test application if it would help...
Thanks,
Bradley