Maximizing a MDI child form programmatically

  • Thread starter Thread starter Simon Jefferies
  • Start date Start date
Probably best doing it this way, althought im a newbie so don`t quote me,
however it works for me:-

Dim LoadWelcomeScreen As New frmWelcomeScreen()
LoadWelcomeScreen.MdiParent = Me
LoadWelcomeScreen.WindowState = FormWindowState.Maximized
LoadWelcomeScreen.Show()

HTH
MCN
 
* "Simon Jefferies said:
I realised that I needed to set the windowstate to maximised before I showed
the form.

Even that works for me (Windows XP Professional, .NET 1.1).
 

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

Back
Top