PDA

Click to See Complete Forum and Search --> : The States


jackbee
May 26th, 2000, 02:45 AM
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

May 26th, 2000, 05:06 AM
In the MouseMove event of the picture, it tells the computer to output the data.

For example.


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

jackbee
May 26th, 2000, 02:13 PM
Thanks to megatron
But how does it know which state it's over?