mdi application error
-
I converted VB.NET 1.1 Windows application to 2.0. It's MDI application with many MDI children. Now I got strange error. When few diffrent MDI children opened at the same time, and then you close one child:sigh:, the whole MDI parent form falls into infinite loop like trying to redraw other child. And there is no other way to stop it, but close application using Ctrl+Alt+Delete. The funny thing is it happen not with all children forms, but I cannot find the rule or reason why. Can someone help? Thank you in advance.
-
I converted VB.NET 1.1 Windows application to 2.0. It's MDI application with many MDI children. Now I got strange error. When few diffrent MDI children opened at the same time, and then you close one child:sigh:, the whole MDI parent form falls into infinite loop like trying to redraw other child. And there is no other way to stop it, but close application using Ctrl+Alt+Delete. The funny thing is it happen not with all children forms, but I cannot find the rule or reason why. Can someone help? Thank you in advance.
trying again dim frm as childform Click_event... frm =new childform frm.mdiparent=me frm.show :)
-
trying again dim frm as childform Click_event... frm =new childform frm.mdiparent=me frm.show :)
Thank you for the response. That was exactly what I was doing. And I found the cause of this error. Most of the child forms have Maximized state and that what makes error.It looks like form starts draw and redraw header of the form and maximize it in a endless loop. As soon as I set it to Normal, the error gone. Instead on a Load event i resized the child form to Client area of MDI form and also removed maximized button. It solved the problem, but it is not how I expected make it. I have about 60!!! child forms and I need to open each one and change setting.