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!

form automaticly resizing 1

Status
Not open for further replies.

emmanuelbeaudet

Programmer
Apr 16, 2002
51
CA
Hi,
I set the size of the form to 800,600.
But when I reopen it in the visual basic editor it always set the size to 804,642.

Can I do something to prevent that ?


Thank you
 
Check the MinimiumSize property of your form. In your case this might be set to 804,642. What you can do is set the minimumsize property to 0,0 and then set the actual size while loading the form.

-Kris
 
Thank you for your help.
I found that, if I put the same size for the minimun and the maximun size the maximum size automaticly resizing with a little more pixel. Why I don't know. I just put the minimum size smaller than the maximum size.

Emmanuel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top