mmartin
04-11-2007, 03:16 PM
Hello.
I've been trying to fire an event using the ax control, but get no respose
when the map is clicked...any ideas? Do I have to add a method for this, or should it already exist withing the ax control?
Private Sub AxMappointControl1_BeforeClick(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long, ByVal Cancel As Boolean)
'Go to the location clicked on the map with the mouse
objmap.XYToLocation(X, Y).GoTo()
End Sub:cry:
I've been trying to fire an event using the ax control, but get no respose
when the map is clicked...any ideas? Do I have to add a method for this, or should it already exist withing the ax control?
Private Sub AxMappointControl1_BeforeClick(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long, ByVal Cancel As Boolean)
'Go to the location clicked on the map with the mouse
objmap.XYToLocation(X, Y).GoTo()
End Sub:cry: