I think I have found a bug when setting or getting the Me.Top property of a form.
I am using VS2010 VB.NET .NET framework 4.0
My monitor setup is slightly unusual:
-
Primary 1600 x 900
-
1680 x 1050
-
1680 x 1050

On monitor number 1 everything works as expected. On monitor 2 or 3 if I set Me.Top = 0 then the form appears 150 pixels from the top of the screen so it thinks that it is using the resolution of the primary monitor.
I have to set Me.Top = -150 to get the form to the top of the screen.
Has anyone seen this before / know of a fix or workaround?
It’s not a bug. The coordinate system is related to the primary screen.
In your layout of screens the screens 2 and 3 has their top bound “higher” than the screen 1 (the primary screen).
If you want layout your window to the top bound of the screen, you should use the Screen class.