Running into a strange issue. I don't recall this with VB6, but there is apparently a scaling setting (none, Font, Dpi and Inherit) that sees to be controlling how I move controls at runtime versus where they are at design time.
For example.
I have a form with a button. The button's location at design time is 451, 12 but when I try to move it using code at run time, it is not in the top corner where I put it in design time.
The code I used is this to test my theory. I gave it a new location point the SAME as it is in design but it is not showing. Any idea what I am missing here?
Thanks in advance.
Simple Form with a single button.
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Button1.Location = New Point(451, 12)
End Sub
End Class