Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

Show toolbars in Control

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 ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Show toolbars in Control

    I have the following code:
    Code:
    Dim objRoute As MapPointCtl.Route
    Dim objMap As MapPointCtl.Map
    
    MappointControl1.NewMap (geoMapEurope)
    Set objMap = MappointControl1.ActiveMap
    How do add the standard Mappoint toolbar/s?

    Thanks

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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.

  3. #3
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    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 ~

  4. #4
    TheJudge is offline Junior Member Yellow Belt
    Join Date
    Mar 2004
    Posts
    15
    that works in VB i believe but how to do the same thing in C#?!!

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    show in c#

    Code:
    object temp = "Drawing";
    			MapPoint.Toolbar toolbar = this.axMappointControl.Toolbars.get_Item(ref temp);			toolbar.Visible = true;
    This was pretty hard to track down.

    kudos to Peter Provost http://www.peterprovost.org/archive/2003/08/30/759.aspx

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I show my current gps location in the ocx control
    By orto in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-16-2004, 11:54 AM
  2. Answer: How to show mappoint toolbars with C#
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 05-13-2004, 04:19 AM
  3. Toolbars and C#
    By ddpg in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-29-2004, 08:29 AM
  4. the map is empty after Show/Hide form with MapPoint control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-25-2004, 04:24 PM
  5. toolbars
    By Fisherman´s Friend in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-22-2003, 08:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27