show child form in mdi centre?

pradvi

New member
Joined
Nov 28, 2008
Messages
1
Programming Experience
5-10
Although the System.Windows.Forms.FormStartPosition.CenterParent works fine if you use the same for an mdi child it doesn’t seem to work. please help

frmVouchertype.MdiParent = Me
frmVouchertype.StartPosition = FormStartPosition.CenterParent
frmVouchertype.Show()
frmVouchertype.Activate()
 
I've never had problems with an MDI child not being centered in the parent when using the .StartPosition = FormStartPosition.CenterParent approach
 
Back
Top