Community of VE/MapPoint Users and Developers
This is a discussion on Disallow to move manuell added push pins within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm writing a VB6 application using the MapPoint ActiveX control. I`m looking for a methode to disallow move manuell added ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Disallow to move manuell added push pins control. I`m looking for a methode to disallow move manuell added push-pins. Did anyone now how I can do this ? Somebody in other ducussion group wrote that I can also disable object selection. I did not find the property I can do this. Can somebody talk me how I can diabele selection of the object ? |
| |||
|
hi, there's an article titled "Making pushpins inmoveable" or something like this, you can use, the code in vb6 is: Private Sub MappointControl1_MouseDown(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long) Dim sp As MapPoint.Shape Dim loc As MapPoint.Location If Button = MapPoint.GeoMouseButtonConstants.geoLeftButton Then If Not MappointControl1.ActiveMap.Selection Is Nothing Then If TypeOf MappointControl1.ActiveMap.Selection Is Pushpin Then Set loc = MappointControl1.ActiveMap.GetLocation(80, 0) 'get a location over at the arctic ocean Set sp = MappointControl1.ActiveMap.Shapes.AddShape(GeoAuto ShapeType.geoShapeRectangle, loc, 1, 1) sp.Select sp.Delete End If End If End If End Sub hope is usefull |
![]() |
| Tags |
| added, disallow, manuell, move, pins, push |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PUSH PINS | a_cajun_2 | MapPoint 2006/2009 Discussion | 1 | 01-07-2005 08:05 PM |
| Where are my Push Pins! Help! | flymoe | MapPoint 2006/2009 Discussion | 1 | 11-20-2004 04:24 AM |
| Push Pins | Anonymous | MapPoint 2006/2009 Discussion | 2 | 04-14-2004 07:16 AM |
| Push Pins | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-09-2004 01:35 PM |
| Push Pins | Ravi1 | MapPoint 2006/2009 Discussion | 2 | 10-21-2003 07:03 PM |