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 2 of 2

Deselect of a line

This is a discussion on Deselect of a line within the MapPoint Desktop Discussion forums, part of the Map Forums category; How do I deselect a line? I current have a program where I display an additional form when a line ...

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

    Deselect of a line

    How do I deselect a line? I current have a program where I display an additional form when a line (Object) is selected. I would like to deselect or unselected programmically.

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

    hi!

    I think you have to use the "Delete" instruction, I haven't found any instruction for deselect. But if you don't want to delete your line, just select another thing, something like this may help you.

    Dim sp As MapPoint.Shape
    Dim loc As MapPoint.Location
    Set loc = MappointControl1.ActiveMap.GetLocation(80, 0) 'get a location over at the arctic ocean
    Set sp = MappointControl1.ActiveMap.Shapes.AddShape GeoAutoShapeType.geoShapeRectangle, loc, 1, 1)
    sp.Select
    sp.Delete

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Locate Line
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-11-2004, 09:53 AM
  2. how to find a line????
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-08-2004, 03:03 PM
  3. How can I create a line between two line with VB6
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 04-29-2003, 06:44 PM
  4. Bug on Polyline and line
    By Maverick in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 02-28-2003, 07:10 AM
  5. As I draw a line and then a pushpin on that line, ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-16-2002, 09:35 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