i am trying to center a smaller form over the calling form
like this:
code in the smaller form
Public Sub CenterMe(frm As Form)
Me.Left = frm.ScaleWidth / 2 - Me.Width / 2
Me.Top = frm.ScaleHeight / 2 - Me.Height / 2

Me.Show
End Sub

Calling it like this:
form1.CenterMe frmKeno

The smaller form is too far left and not high enough. (not centered)
what am i doing wrong ?