I
Ivan Weiss
I have the windows startup position on a child form to centerParent.
The calling code to the form is:
Dim objBackground As New frmBackground
objBackground.MdiParent = Me
'objBackground.Width = Me.ClientSize.Width * 0.97
'objBackground.Height = Me.ClientSize.Height * 0.92
objBackground.Width = Me.ClientSize.Width * 0.9
objBackground.Height = Me.ClientSize.Height * 0.9
objBackground.StartPosition = FormStartPosition.CenterParent
objBackground.Show()
End Sub
Any ideas on why my form is loading towards the top left of the corner
instead of centered on the parent mdi container?
-Ivan
The calling code to the form is:
Dim objBackground As New frmBackground
objBackground.MdiParent = Me
'objBackground.Width = Me.ClientSize.Width * 0.97
'objBackground.Height = Me.ClientSize.Height * 0.92
objBackground.Width = Me.ClientSize.Width * 0.9
objBackground.Height = Me.ClientSize.Height * 0.9
objBackground.StartPosition = FormStartPosition.CenterParent
objBackground.Show()
End Sub
Any ideas on why my form is loading towards the top left of the corner
instead of centered on the parent mdi container?
-Ivan