View Single Post

  #2 (permalink)  
Old 12-11-2002
John Meyer's Avatar
John Meyer John Meyer is offline
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
You are in the right forum.

To add the legend
Code:
MapPointControl1.PaneState = geoPaneLegend
To work with a Pushpin that you have selected.

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
    End If
__________________
John
http://www.support-pc.com

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