How can I get the mouse position on the form? I know I can use OnMouseMove-event and then store those values into some global variables, but is there a better way? I have tried
Mouse.CursorPos, but that doesn't work. It seems to give me the position on the screen and not on the form.