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.
Printable View
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.
:wave:Code:Form2.WindowState = 2
EDIT :What does this means ? :confused:Quote:
But I wish to keep all of "Form2"'s size, etc.
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