Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Enabling the Drawing toolbar using VB and MapPoint Control within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am new to Mappoint. I am writting a custom program in VB and I want to be able to ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Enabling the Drawing toolbar using VB and MapPoint Control I have a Mappoint control on a form and I want to have many/most of the features that exist in Mappoint including the drawing tool available to the user. I have the form coming up but some of the features like the drawing tool are not showing up. Is the problem using the form control vs creating an instance of the application? Could someone point me in the right direction? |
| |||
| Show toolbars (and other stuff)
ddodgen, you must mean "Visible =True" Spideybud, there are a lot of ways to show more of MapPoint. One easy method is to use the "PaneState". With this property you can show the routeplanner, find nearby places, the legend or the territory manager. An example would be: Me.MappointControl1.PaneState = geoPaneRoutePlanner To show the toolbars, then you can do almost as ddodgen told you (ddodgen is is using the syntax for the MapPoint Application object, not the OCX). The choices you have here are "Standard", "Navigation", Drawing" and "Location and Scale". An example of this would be: Me.MappointControl1.Toolbars.Item("Drawing").Visib le = True Hope it helps! /Joakim Tornhill SpedSoft AB http://www.spedsoft.se
__________________ SpedSoft AB has been working with MapPoint since version 2000 and have the longest experience in Sweden on MapPoint. |
| |||
| C# to get the toolbar 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 |
![]() |
| Tags |
| control, drawing, enabling, mappoint, toolbar |
| ||||
| Posted By | For | Type | Date | |
| toolbar + vb | VIRGILIO Ricerca | Web | This thread | Refback | 12-31-2008 06:42 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Win2000 Server+Infragistics Toolbar+Mappoint = problem? | EdB | MapPoint Desktop Discussion | 2 | 02-22-2005 11:54 AM |
| customized drawing toolbar with circle and free hand only? | Anonymous | MapPoint Desktop Discussion | 1 | 01-19-2005 03:37 PM |
| Drawing an Oval Using The Toolbar - QueryCircle? | Steve Wenck | MapPoint Desktop Discussion | 1 | 08-16-2004 12:49 PM |
| drawing lines on top of MapPoint control | Anonymous | MapPoint Desktop Discussion | 0 | 07-29-2004 02:23 PM |
| Enabling only the zoom function of the Navigation Toolbar | cathsaigh | MapPoint Desktop Discussion | 1 | 07-31-2002 02:23 PM |