Maximized MDI childforms.... Anyone?

M

Martin

A while ago I posted a question on how to load MDI child forms maximized
(WindowState=Maximized). When I do this they always load in a sort of
in-between state and only when I resize the MDI container they take their
proper state.

Did anyone manage to do this in VB2005? If so, I'd love to hear how....

Tia,
Martin
 
M

Martin Horn

Hi Martin,

I have written an MDI app recently with VB2005, and I don't experience any
problem if I set WindowState.Maximized for the child forms, they open up
fully Maximized as expected. So I don't think it's a problem with VB2005 per
se.

HTH.
 
G

Guest

I had this same problem.

Try setting the child form's AutoScaleMode to Inherit.

God Bless
David
 
M

Martin

Thanks for your response. Unfortunately that didn't help either. Now I set
in the form_load event the property to maximized and that helps. A bit
weird, since that property was already set to maximized at design time...
But I guess that is one of the small inconsistancies we have to learn to
live with....

Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top