There's a site you may have 'come across' - tegosoft.com
where a map of the USA can be downloaded.
It uses a 'mouseover' event to show data of the states.
Anyone know how it works?
Thanks
Printable View
There's a site you may have 'come across' - tegosoft.com
where a map of the USA can be downloaded.
It uses a 'mouseover' event to show data of the states.
Anyone know how it works?
Thanks
In the MouseMove event of the picture, it tells the computer to output the data.
For example.
Code:Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
'Write New York in the Label when the mouse is moved over this control.
lblOutput.Caption = "New York"
End Sub
Thanks to megatron
But how does it know which state it's over?