I have the following code:
How do add the standard Mappoint toolbar/s?Code:Dim objRoute As MapPointCtl.Route Dim objMap As MapPointCtl.Map MappointControl1.NewMap (geoMapEurope) Set objMap = MappointControl1.ActiveMap
Thanks
This is a discussion on Show toolbars in Control within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have the following code: Code: Dim objRoute As MapPointCtl.Route Dim objMap As MapPointCtl.Map MappointControl1.NewMap (geoMapEurope) Set objMap = MappointControl1.ActiveMap ...
I have the following code:
How do add the standard Mappoint toolbar/s?Code:Dim objRoute As MapPointCtl.Route Dim objMap As MapPointCtl.Map MappointControl1.NewMap (geoMapEurope) Set objMap = MappointControl1.ActiveMap
Thanks
A: "Do a simple search on this forum!"
Me: "I just did"
A: "so?
Me: :P "MappointControl1.Toolbars.Item("Drawing").Vis ible = True"
Sorry guys....I did not search first and found the answer. Thanks anyway and sorry for the silly bother.
![]()
Aren't you glad the smiley's are working?
http://www.mp2kmag.com/mappoint/disc...pic.asp?t=4115
~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
~~
~ Upgrade to Get Access to the MapForums Downloads ~
that works in VB i believe but how to do the same thing in C#?!!
This was pretty hard to track down.Code:object temp = "Drawing"; MapPoint.Toolbar toolbar = this.axMappointControl.Toolbars.get_Item(ref temp); toolbar.Visible = true;
kudos to Peter Provost http://www.peterprovost.org/archive/2003/08/30/759.aspx
There are currently 1 users browsing this thread. (0 members and 1 guests)