Results 1 to 2 of 2

Thread: scrolling a picture

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    caibbean
    Posts
    1

    scrolling a picture

    how do i scroll a map for different place according to what is clicked. For example, Rome is set to the center of the map. When Italy is click the map will scroll. The paintpicture method must be used.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Get where they clicked and subtract the MiddleX from the ClickX, and the MiddleY from the ClickY. Then, add those amounts to the offset of the picture.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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