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 6 of 6

Control bars

This is a discussion on Control bars within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi again My Access application integrates the mappoint control. My bosses are asking me to add the control bars so ...

  1. #1
    dynek is offline Junior Member Yellow Belt
    Join Date
    Jan 2005
    Posts
    15

    Control bars

    Hi again

    My Access application integrates the mappoint control. My bosses are asking me to add the control bars so they can create zones and stuff (the drawing tools I guess).

    Is there any way to do it without loading the application in an external window?

    Thanks for your help!

  2. #2
    Jaba is offline Junior Member Yellow Belt
    Join Date
    Jan 2005
    Posts
    21
    You normally could do it thanks to the following lines of C# code :

    object temp = "Drawing";
    MapPoint.Toolbar toolbar = this.axMappointControl1.Toolbars.get_Item(ref temp);
    toolbar.Visible = true;

  3. #3
    dynek is offline Junior Member Yellow Belt
    Join Date
    Jan 2005
    Posts
    15
    im coding it in VBA and I have no .toolbar method for mappointcontrol.

    Any idea?

    Thanks

  4. #4
    Jaba is offline Junior Member Yellow Belt
    Join Date
    Jan 2005
    Posts
    21
    I think someone here who programs in VBA could help you... But are you sure you don't have access programmatically to the toolbar ?


    Sorry

  5. #5
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Quote Originally Posted by dynek
    im coding it in VBA and I have no .toolbar method for mappointcontrol
    In programming, specially if moving between languaes you have to use some imagination to filter the little differences out

    Code:
            Map.Application.Toolbars.Item("Navigation").Visible = True
            Map.Application.Toolbars.Item("Drawing").Visible = True
            Map.Application.Toolbars.Item("Standard").Visible = True
            Map.Application.Toolbars.Item("Location and Scale").Visible = True

  6. #6
    dynek is offline Junior Member Yellow Belt
    Join Date
    Jan 2005
    Posts
    15
    Yeah it worked!

    Thanks a lot dude !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 11:16 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