How To Show Mouse Coordinates?

By Goniey N (Mr. G)

Display X & Y Both Coordinates Of Your Mouse...

'On The RichTextbox MouseMove Event & Display X & Y Coordinates To Lable...

Private Sub RichTextBox1_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs)
        
lblXY.Text = " X : " & e.X & "  Y : " & e.Y
End Sub

How To Show Mouse Coordinates?  (1512 Views)