Community of VE/MapPoint Users and Developers
This is a discussion on Programmatically going through itinary within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; After I have calculated my route I show a grid at the side of the mappoint control, the user can ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Programmatically going through itinary Is it possible to access the directions/itinary panel and programatically position a line in it. IE I want to jump to the line in the panel where is says "Arrive etc" for the waypoint selected. any help extremley appreciated |
| |||
| Re: Programmatically going through itinary
Hi, I'm not sure I understeand the question, but every waypoint in a route has a location property, so you can jump to it. Is this answering your question ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Programmatically going through itinary
I'll try again. After I have calculated my route, a map is drawn and an iternary of the route in another pane. I want to be able to programmatically position the itinary on different waybill points. Not the map, but the itinary window. /hope this makes sense |
| |||
| Re: Programmatically going through itinary
Just posted this for someone else... is this what you want? (not doing what you want to do, but maybe adaptable). gobjRoute.Calculate For x = 1 To gobjRoute.Directions.Count If Left(gobjRoute.Directions.Item(x).Instruction, 10) = "Rest break" Then Set oLoc(3) = gobjRoute.Directions.Item(x).Location Exit For End If Next x |
| |||
| Re: Programmatically going through itinary
Hi, Now I understand it. You can adapt code example from John to loop trough the directions and create the direction window yourself, for example using another form with a listbox on it. Then you have it in control yourself.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change the pushpin programmatically ? | Anonymous | MapPoint 2006/2009 Discussion | 4 | 12-21-2004 04:50 AM |
| How to save map as *.ptm programmatically in MapPoint? | Anonymous | MapPoint 2006/2009 Discussion | 3 | 10-07-2004 11:22 AM |
| Creating Territories programmatically | Atul22 | MapPoint 2006/2009 Discussion | 3 | 10-05-2004 10:15 AM |
| Get programmatically the type of roads | baltazar | MapPoint 2006/2009 Discussion | 0 | 03-19-2004 05:22 AM |
| Programmatically creating Territories? | jlaretto | MapPoint 2006/2009 Discussion | 1 | 01-29-2004 02:01 AM |
Cheap flights to Lisbon
Experience the amazing sight of the Lisbon Coast yourself. Pick from a selection of cheap flights to Lisbon on Holiday Hypermarket.
Cyprus Weather
Check out Cyprus Weather - Travel Counsellors details information on Cyprus including, weather, flights and accommodation.
Flight
When looking to jet set off, make sure you check out dealchecker.co.uk before you check in anywhere else. Bag a bargain flight from all major scheduled and charter airlines.
Sri Lanka Holidays
There are some outstanding deals on Sri Lanka holidays at theholidayplace.co.uk. Sri Lanka is renowned for it's exceptional beauty! Book a holiday today!
Cyprus
Before visiting Cyprus, make sure you are well informed to make the most of your holiday. Online at ulookubook.com you check out our useful travel guides. Find out all about the Cyprus nightlife, shopping, eating and customs.
Cheap holiday comparison
Travel.co.uk is a comparison service which makes it easy to search and find your cheap holiday options.
Holidays to Lanzarote
Not been to the Canary Islands yet? What are you waiting for! Get information on holidays to Lanzarote at On The Beach.