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

ItineraryVisible

This is a discussion on ItineraryVisible within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi to all, is it possible to keep hidden the ItineraryVisible pane when programatically cretaing a route? I'm using MP ...

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

    ItineraryVisible

    Hi to all,

    is it possible to keep hidden the ItineraryVisible pane when programatically cretaing a route? I'm using MP 2002 Europe and VB6.

    Thanks a lot.

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

    Hiding The Itinerary

    Simple answer, none that Im aware of, I have tried this for hours and hours, the best I have come up with is to hide the control before calculating, do the calculation, hide the Itinerary then show the control.....

    anybody else got a better way?

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

    Hiding The Itinerary

    The following will automatically keep a record of the current visibility and
    then restore after any route calculation.

    Public SavedItineraryState As Boolean


    Private Sub objMap_AfterRedraw()

    'save itinerary pane state on every map redraw
    SavedItineraryVisible = objApp.ItineraryVisible

    End Sub

    Private Sub objMap_RouteAfterCalculate(ByVal Rte As MapPoint.Route)

    'restore itinerary pane state after route calculate
    objApp.ItineraryVisible = SavedItineraryVisible

    End Sub

    The directions pane does actually redraw but is closed immediately and is not noticeable on a reasonable speed system.

Thread Information

Users Browsing this Thread

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

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 28 29 30 31 32 33 34 35 36