View Single Post

  #2 (permalink)  
Old 01-06-2003
John Meyer's Avatar
John Meyer John Meyer is offline
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Nick,

You could put this in a command button.

Code:
Dim objmap As MapPointctl.Map 
Dim objPushpin As MapPointCtl.Pushpin 

Set objmap = MapPointControl1.ActiveMap 
      'Make sure the item selected on the map is a pushpin 
    If TypeOf objmap.Selection Is Pushpin Then 
      Set objPushpin = MapPointControl1.Selection        
      'Do Something 
      msgbox objpushpin.name
    End If
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Reply With Quote