Is there a way to display the standard symbols list on a VB form to allow the user to pick one of these symbols so it can be assigned to a particular push pin.
Thanks in Advance
This is a discussion on Standard Symbols List within the MapPoint Desktop Discussion forums, part of the Map Forums category; Is there a way to display the standard symbols list on a VB form to allow the user to pick ...
Is there a way to display the standard symbols list on a VB form to allow the user to pick one of these symbols so it can be assigned to a particular push pin.
Thanks in Advance
There is nothing exposed by the MapPoint object model but you can write you own code to provide the same function.
Creat a form, add an image list, listview and a command button. Put the icons in an image list.
Code for the form could look something like this:
Private Sub Command1_Click()
For i = 1 To ListView1.ListItems.Count
If ListView1.ListItems.Item(i).Selected = True Then
symbolNumber = ListView1.ListItems.Item(i)
Unload Me
End If
Next
End Sub
Private Sub Form_Load()
For k = 0 To 255
ListView1.ListItems.Add , , k, k + 1
Next
End Sub
Private Sub ListView1_DblClick()
For i = 1 To ListView1.ListItems.Count
If ListView1.ListItems.Item(i).Selected = True Then
symbolNumber = ListView1.ListItems.Item(i)
Unload Me
End If
Next
Unload Me
End Sub
John
http://www.support-pc.com
Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Here is where you can download the PushPin Icons from Microsoft.
http://www.microsoft.com/downloads/r...eleaseid=32426
John
http://www.support-pc.com
Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Thanks a lot
Charbel
There are currently 1 users browsing this thread. (0 members and 1 guests)