CurrentXY example
Example for CurrentXY method
Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
cAvax1.StartAvax()
End Sub
Private Sub Form1_FormClosed(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
cAvax1.EndAvax()
End Sub
Private Sub CAvax1_OnMouseDown1(ByVal Sender As Object, ByVal e As Avax.cAvax.MouseDownEventArgs) Handles CAvax1.OnMouseDown
Dim x1, y1 As Single
If CAvax1.CurrentXY(x1, y1) = True Then
Label1.Text = "X=" & Str(x1) & " " & "Y=" & Str(y1)
End If
End Sub