Form.Visible = true problem

L

Lloyd Dupont

the first time I call form.Visible = true
the Size of my form is changed.
even though I have set StartPosition = FOrmStartPosition.Manual

is it normal?
what can I do?
 
R

Ron

Lloyd Dupont said:
the first time I call form.Visible = true
the Size of my form is changed.
even though I have set StartPosition = FOrmStartPosition.Manual

is it normal?
what can I do?
<snip>
Hi Lloyd.
The StartPosition only affects the position of the form on the screen. To
maintain the size of your form, set the Width, Height, Left and Top
properties of the form in the form Load event, then use Form.Show() to show
it.

HTH
Ron.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top