Member Avatar

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

Recommended Answers

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

Jump to Post

All 2 Replies

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.