Community of VE/MapPoint Users and Developers
This is a discussion on ItineraryVisible within the MapPoint 2006/2009 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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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? |
| |||
| 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. |
![]() |
| Tags |
| itineraryvisible |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |