Results 1 to 3 of 3

Thread: [RESOLVED] How To Get A Form To Be Maximised When Shown?

  1. #1

    Thread Starter
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Resolved [RESOLVED] How To Get A Form To Be Maximised When Shown?

    I need "Form2" to be maximised when I click on a menu item, which is called Tasks, then going down to Task 1:. But I wish to keep all of "Form2"'s size, etc.

  2. #2
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306

    Re: How To Get A Form To Be Maximised When Shown?

    Code:
    Form2.WindowState = 2


    EDIT :
    But I wish to keep all of "Form2"'s size, etc.
    What does this means ?
    IIF(Post.Rate > 0 , , )

  3. #3
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: How To Get A Form To Be Maximised When Shown?

    Set the Form's WindowState Property to 2 - Maximised in the Properties Window for Form2 in the IDE, or in the form's Load event put:
    Code:
    Private Sub Form2_Load()
    Me.WindowState = 2
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width