Newbie stupid form question

  • Thread starter Thread starter jay
  • Start date Start date
J

jay

I am opening new forms with the below code from my mainMenu form
[isMdiContainer=True]

Dim frmNew As New WhatsUp

frmNew.MdiParent = Me

frmNew.Show()

It seems that every time I open a new window it moves progressively further
to the right and down, even after I have closed a form, and no forms are
currently displayed. What properties can I set to make every new form show
up at the same location, like right below the menuStrip? I have tried
setting the properties of whatsUp, but they don't seem to do anything.
 
I am opening new forms with the below code from my mainMenu form
[isMdiContainer=True]

Dim frmNew As New WhatsUp

frmNew.MdiParent = Me

frmNew.Show()

It seems that every time I open a new window it moves progressively further
to the right and down, even after I have closed a form, and no forms are
currently displayed. What properties can I set to make every new form show
up at the same location, like right below the menuStrip? I have tried
setting the properties of whatsUp, but they don't seem to do anything.

I believe you need to set the new form's startposition property to
Manual before setting the form's location.

Thanks,

Seth Rowe
 
Back
Top