Forms presentation

  • Thread starter Thread starter Lloyd Sheen
  • Start date Start date
L

Lloyd Sheen

Try this code:

Dim NewMDIChild As New Form2()
'Set the Parent Form of the Child window.
NewMDIChild.MdiParent = Me
'Display the new form.
NewMDIChild.Show()
 
Hi,

I'm developing an aplication using vb.net 2003, the aplication is MDI.
My problem is that when I show child forms, I want them to appear in the
"fill" space, but I can't do that.
Can anyone help me with that.
I've tried the maximaze child form propertie, but the controls appear on
the top of my aplication, and I don't want that too.

thanks in advance
Henrique Proença
 
* "Henrique Proença said:
I'm developing an aplication using vb.net 2003, the aplication is MDI.
My problem is that when I show child forms, I want them to appear in the
"fill" space, but I can't do that.
Can anyone help me with that.
I've tried the maximaze child form propertie, but the controls appear on
the top of my aplication, and I don't want that too.

Which controls appear on top of the application? Please provide more
details.
 
On the top I've a menu bar and a toolbar.
I've find a way to solve the problem : ), my way consist on various hidden
panels, depending the option I turn visible the correspondig panel (with
dock=fill, and brigtofront).
Is an average solution.

thanks to all
Henrique Proença
 
Back
Top