Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Map scrolling

This is a discussion on Map scrolling within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi to all! I have some troubles about map scrolling with Mappoint 2002. I have built a Visual Basic.NET program ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Map scrolling

    Hi to all!

    I have some troubles about map scrolling with Mappoint 2002. I have built a Visual Basic.NET program wich uses an OCX control of Microsoft MapPoint 2002.

    I have developed some functions as Zoom In and Out (oMap.ZoomIn(), oMap.ZoomOut() , where oMap is declared as oMap As MapPoint.Map ).
    So, i need to create 8 buttons (North, South, East, West, NorthWest, NothEast, SouthEast and SouthWest) wich allow auto-Map scrolling when i touch or press one of them.
    How can i do that?
    How can i disable mouse buttons when i press one of them over the map?!

    Thanx a lot for any answer

    Bye!

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Problem Panning?

    I have used the 'oMap.Pan' command for example to scroll west I have placed this command in a button
    'omap.pan geoWest'
    seems to work fine.
    On the disable mouse buttons, just set cancel to true on the mouse down routine.

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Re: Problem Panning?

    Quote Originally Posted by BravoOne
    I have used the 'oMap.Pan' command for example to scroll west I have placed this command in a button
    'omap.pan geoWest'
    seems to work fine.
    On the disable mouse buttons, just set cancel to true on the mouse down routine.
    Its woks great!


    Thanx!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help with map scrolling arrows please!
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-09-2003, 11:29 AM

Tags for this Thread

Posting Permissions

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36