Form.Visible = true problem

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
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?
 
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.
 
Back
Top