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).
 
Back
Top