Member Avatar for Rahul47

HI People, I have following situation.
I have an MDI form and a child form which opens upon selecting one of the menus.
When this chld form opens it opens with it's defalt size.

What I wish to do is open child forms maximized in parent when it(child) form is opened.

Thanks

in the design tab of the child form set the WindowState property to Maximized

Hi,

If you set your form1 as a IsMdiContainer and form1 and form2 are set windowstate= Maximized then you can try this in the button event:

 Dim f As New Form2
        f.MdiParent = Me
        f.Show()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.