Make form full screen

  • Thread starter Thread starter Vayse
  • Start date Start date
V

Vayse

Hi
Is there a way to open a form at maximum size? That is, as if the user had
clicked the maximise button.
Thanks
Vayse
 
fMain = New frmMain
fMain.WindowState = FormWindowState.Maximized
fMain.Show()


? Not sure if thats what you were asking for.

M.
 
You can also set the properties on the form itself to always show maximized.
See the "WindowState" property.

I have had an instance of this that it did not create the form "Maximized"
during runtime. That is why i do it the 'coding' way instead.

Miro
 
Vayse said:
Is there a way to open a form at maximum size? That is, as if the user had
clicked the maximise button.

Set the form's 'WindowState' property to 'Maximized' at design time.
 
Back
Top