My.Forms.Frmnovita.location = New System.Drawing.Point((Me.Bounds.Width - My.Forms.Frmnovita.width)\2,(Me.Bounds.heigth - My.Forms.Frmnovita.heigth)\2)
gtw this is not 100% dead center. this is because the hight of the form does not = the MDI client area height)..
I used to do that ... any way after learning that desinger seems to overight the settings... make sure you have the same value assigned in the designer for the child form.
I have the same problem. Any help would be appreciated... All of the articles that just say use .StartPosition = FormStartPosition.CenterParent doesn't work at all.
StartPosition don't work correcty.
hutchbrew
You can find a possible solution here:
http://dotnet247.com/247reference/msgs/20/100528.aspx
Really though, a quick search on google gets you lots of answers. Try this:
http://www.google.de/groups &ie=ISO-8859-1&q=dotnet+centerparent+MDI
David Levinson
annoying isnt it., ;)
have this problem from time to time. so I do this
My.Forms.FrmNovita.StartPosition = FormStartPosition.CenterParent
My.Forms.FrmNovita.MdiParent = Me
My.Forms.FrmNovita.Show()My.Forms.Frmnovita.location = New System.Drawing.Point((Me.Bounds.Width - My.Forms.Frmnovita.width)\2,(Me.Bounds.heigth - My.Forms.Frmnovita.heigth)\2)
gtw this is not 100% dead center. this is because the hight of the form does not = the MDI client area height)..
I used to do that ... any way after learning that desinger seems to overight the settings... make sure you have the same value assigned in the designer for the child form.
Brunosdd
I have the same problem. Any help would be appreciated... All of the articles that just say use .StartPosition = FormStartPosition.CenterParent doesn't work at all.