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

Lines and Shape identification

This is a discussion on Lines and Shape identification within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is there anyway to determine what line or shape a user has selected. I have a program which displays various ...

  1. #1
    kwargo is offline Junior Member White Belt
    Join Date
    May 2003
    Posts
    11

    Lines and Shape identification

    Is there anyway to determine what line or shape a user has selected.

    I have a program which displays various lines on the map. I need to know what line the user has selected. Now we all know that line is "highlighted" and can be moved around and there is a name and/or text associated. There must be someway to identify what line the person is clicking on?

    Help

  2. #2
    kwargo is offline Junior Member White Belt
    Join Date
    May 2003
    Posts
    11

    Determine what object was selected.

    I found out how to identify what was selected.

    dim shp = Map

    If TypeOf MPC.ActiveMap.Selection Is Object Then

    Set shp = MPC.ActiveMap.Selection

    ' do what you want

    end if

  3. #3
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Thanks for following up.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom Lines
    By TicK in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-16-2005, 05:05 PM
  2. Does an object reside in my Shape or Shape boundaries?
    By hotrdd in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-04-2005, 10:51 PM
  3. VB and Lines
    By Milo in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-19-2004, 09:43 AM
  4. Contour Lines
    By Anonymous in forum Wish List
    Replies: 2
    Last Post: 06-30-2003, 12:49 AM
  5. Lines as pushpins
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 12-02-2002, 10:15 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