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

not to move shapes

This is a discussion on not to move shapes within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am creating an application in VB that uses the Mappoint control. I. I'd like to know how to block ...

  1. #1
    Manuel is offline Junior Member White Belt
    Join Date
    Nov 2002
    Posts
    4

    not to move shapes

    I am creating an application in VB that uses the Mappoint control. I. I'd like to know how to block the user from being able to move shapes that I have created with "Set oShp = .MPC.ActiveMap.Shapes.AddLine(oloc1, oloc2) "
    I mean The user can select them but not to move them.

    Thank you

    Manolo

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I have the same problem. Have you/someone found the solution?

    Thanks

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Not so far. I only got this answer from the microsoft.public.mappoint

    "This has often be requested, but I don't have an easy answer for you
    unfortunately. The only way this could be done that I am aware of is
    intercept the "SelectionChanged" and mouse events and "a posteriori"
    check if anything was moved that shouldn't be moved, and move it back.

    Regards,
    Gilles [MVP]."

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pushpin move on map and new locaiton
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-28-2005, 02:26 PM
  2. Capture the Pushpin move event
    By Maverick in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-14-2003, 01:34 AM
  3. Help.! How to move a pushpin in the map.
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 9
    Last Post: 03-10-2003, 05:00 PM
  4. Ist it possible to get X, Y from mouse move
    By blackmap in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-16-2002, 03:54 PM
  5. It is possible to drag / drop (move) an PushPin on....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-03-2001, 02:54 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