Community of VE/MapPoint Users and Developers
This is a discussion on Detecting the currently selected pushpin within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; is there a way for me to detect the currently selected pushpin object when using the map point object late ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Detecting the currently selected pushpin |
| ||||
|
Give this a try. Dim objmap As MapPoint.Map Code: Dim pp As MapPoint.Pushpin On Error Resume Next Set objmap = GetObject(, "MapPoint.Application").ActiveMap Set obj1 = objmap.Selection If TypeOf objmap.Selection Is Pushpin Then Set pp = objmap.Selection MsgBox pp.Name End If
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| detecting, pushpin, selected |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| detecting mappoint in vba | OregonIzer | MapPoint 2006/2009 Discussion | 4 | 07-21-2005 12:56 PM |
| Data Associated With Selected Pushpin | Steve Wenck | MapPoint 2006/2009 Discussion | 1 | 08-12-2004 04:03 PM |
| Find Record in Dataset from selected Pushpin | neomoon | MapPoint 2006/2009 Discussion | 1 | 09-11-2003 08:49 AM |
| Detecting when a line is clicked on in MP2K | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-21-2003 11:24 AM |
| I have an app that adds a pushpin (a user selected.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-19-2002 04:22 PM |