I have this on a form,
Everything works except the .TOP
that never works, the form aligns to the left sid of the picture box
but never to the top
the top differs each time.
I want to align the Top of this form to the top of the picturebox
Private Sub Form_Resize()
Me.Top = frmMain.picMDI.ScaleTop 'I tried .Top aswell
Me.Left = frmMain.picMDI.ScaleLeft
Me.Width = frmMain.picMDI.ScaleWidth
Me.Height = frmMain.picMDI.ScaleHeight
End Sub
Thnx for anyhelp