OnMouseDown Event

519
2
Jump to solution
07-24-2013 12:00 PM
NeedHelp
New Contributor
In 9.3 to get the XY of a mouse click i'd use:

Public Overrides Sub OnMouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Integer, ByVal Y As Integer)

But in 10.0 I get the following error:
sub 'OnMouseDown' cannont be declared 'Overrides' because it does not override a sub in a base clause.

What does this mean?? and Whats the best/easiest way to get the XY of a mouse click??
0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor
Take a look at this sample on how to draw something on the map display.

View solution in original post

0 Kudos
2 Replies
KenBuja
MVP Esteemed Contributor
Take a look at this sample on how to draw something on the map display.
0 Kudos
NeedHelp
New Contributor
Perfect!!! Thanks again.
0 Kudos