Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

maximize form 2

Status
Not open for further replies.

emmanuelbeaudet

Programmer
Apr 16, 2002
51
CA
Hi,
I' new using visual basic .NET.
Can I maximize a form when I open it, like we can do with Access ? I don't want to just make the form the same size of the screen. I want to do the same thing the "maximize button" do in a form.

Thank you
 
You can use windowState to do this. Using Form Property window, set the windowState to Maximized

-Kris
 
It work fine but when I minimize the form and restore it, it don't get the maximum size.
 
I just tried that, and it worked for me means if I open the window in Maximized state and then minimizing and maxmizing takes it back to the way it was originally, which is maximized.

-Kris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top