Results 1 to 2 of 2

Thread: MouseMove Event

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    cardiff
    Posts
    17

    Post

    I need to Move the mouse cursor over a certain postion in a picture and display relevent information in textboxes.
    Can anyone help me?

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Try something like this:
    Code:
    Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
        Text1.Text = "X: " & X & "   Y: " & Y
    End Sub
    ------------------

    Serge

    Software Developer
    [email protected]
    ICQ#: 51055819


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