MDI problems
Hello,
I'm using an MDI form, with a user control on the left and right side of the screen. Whenever I load a new form into the MDI, I use:
'This code is in the user control
dim o as new Form1
o.MDIParent = me.ParentForm()
o.Show()
'Sometimes this is called for some of the forms
o.LoadData()
It runs the code in the load data function, but doesn't show the form. When I minimize and maximize the form, then the MDI child form shows. Also, I cannot click the "X" in the upper-right of the screen to close the form. For this form, I don't have a finalize function, I don't have a closing event to stop it from closing.
Any ideas?
Thanks,
Brian Mains
__________________
Brian
|