MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Deselect of a line

This is a discussion on Deselect of a line within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2004
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-03-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
deselect, line


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Locate Line Anonymous MapPoint 2006/2009 Discussion 1 08-11-2004 09:53 AM
how to find a line???? Anonymous MapPoint 2006/2009 Discussion 1 03-08-2004 03:03 PM
How can I create a line between two line with VB6 Anonymous MapPoint 2006/2009 Discussion 0 04-29-2003 06:44 PM
Bug on Polyline and line Maverick MapPoint 2006/2009 Discussion 0 02-28-2003 07:10 AM
As I draw a line and then a pushpin on that line, .... Anonymous MapPoint 2006/2009 Discussion 1 07-16-2002 09:35 AM


All times are GMT -5. The time now is 12:29 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54