I'm new with this. Please help.
I want to make a form follow the cursor.
So every time I move the cursor the form will follow smoothly.
I have a code that I searched but it does not follow the cursor smoothly.
- Code: Select all
Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
End Sub
Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove
Me.Location = MousePosition
End Sub
End Class


