Maximizing a MDI child form programmatically

M

MadCrazyNewbie

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
 
H

Herfried K. Wagner [MVP]

* "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).
 
M

MadCrazyNewbie

Cor,

It feels good to be able to help people and not just recive the help:)

Cheers
MCN
 

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