Results 1 to 3 of 3

Thread: The States

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    65
    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

  2. #2
    Guest
    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

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    65
    Thanks to megatron
    But how does it know which state it's over?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width