Maximizing a Form at Startup

Alright sluggers,
How can I maximize a VB form at startup so that it fills the whole screen?

Thanks in advance,
Kelly

Comments

  • : Alright sluggers,
    : How can I maximize a VB form at startup so that it fills the whole screen?
    :
    : Thanks in advance,
    : Kelly
    :

    You can put the following code in your form_load or startup sub
    [code] Me.WindowState = FormWindowState.Maximized [/code]

    Alvaro
  • Thanks Alvaro,
    It worked like a charm!

    -Kelly

    : : Alright sluggers,
    : : How can I maximize a VB form at startup so that it fills the whole screen?
    : :
    : : Thanks in advance,
    : : Kelly
    : :
    :
    : You can put the following code in your form_load or startup sub
    : [code] Me.WindowState = FormWindowState.Maximized [/code]
    :
    : Alvaro
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories