Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ItineraryVisible to False question

0 views
Skip to first unread message

J. David

unread,
Oct 16, 2009, 12:26:01 PM10/16/09
to
Calculating a route i dont't want the itinerary visible on my application
anyway; this is my code:
mappointControl.ActiveMap.ActiveRoute.Calculate() 'calculate de route
mappointControl.ItineraryVisible = False
But the itinerary pane flash after calculating the route and before hiding it.
If I set "ItineraryVisible = False" before "Calculate()" the route get the
same result.
Is there a way of routing (by code) so the itinerary pane was never shown?
Platform: MapPoint 2009 Europe, Visual Studio 2005 (VB.NET)

Wilfried Mestdagh

unread,
Oct 19, 2009, 7:53:30 AM10/19/09
to
J. David schreef:

> Is there a way of routing (by code) so the itinerary pane was never shown?
> Platform: MapPoint 2009 Europe, Visual Studio 2005 (VB.NET)

Hi,

I just did the test with MP 2009 setting ItineraryVisible = false after
calling Calculate, and it works here.

--
rgds, Wilfried
Microsoft MapPoint MVP

J. David

unread,
Oct 21, 2009, 11:58:01 AM10/21/09
to
Hello,
When I set "ItineraryVisible = false" it works for me too, but not like I
want.
This what happens visually on my application calculating a route and setting
"ItineraryVisible = false":
- the route is shown on the map
- the pane with itinerary is shown
- the pane with itinerary is hidden

And this is what I'd like:
- the route is shown on the map (the itinerary pane is never shown)

Is this possible?
Thanks

0 new messages