Jump to content


XY location on MouseMove

1 reply to this topic

#1 tjskas



  • Members
  • Pip
  • 1 posts

Posted 02 March 2016 - 09:38 AM

Just started working with the demo and like what I see so far. Having difficulty showing X and Y coordinates in a text box on MouseMove. With the included examples I have only found one that works off a button_click event, but I need a continuous reading of the mouse location. Is this possible, and are there any VB.Net examples?


#2 Athanasios Gardos

Athanasios Gardos


  • Admin
  • 360 posts
  • Gender:Male

Posted 17 March 2016 - 12:18 PM

Please have a look at the following source code:

 Private Sub cAvax1_OnMouseMove(ByVal Sender As Object, ByVal e As Avax.cAvax.MouseMoveEventArgs) Handles CAvax1.OnMouseMove
     Dim x1, y1 As Single
     If CAvax1.CurrentXY(x1, y1) = True Then
         Debug.Print(x1 & " " & y1)
     End If
 End Sub

Avax.chm help file contains examples for every function.

You can also find examples at c:\Program Files\Avax Vector NET\Examples\ folder and at


Athanasios Gardos

Reply to this topic


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users