|
-
Apr 6th, 2008, 12:05 AM
#1
Thread Starter
PowerPoster
[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.
-
Apr 6th, 2008, 12:10 AM
#2
Frenzied Member
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 ?
-
Apr 6th, 2008, 12:12 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|