Community of VE/MapPoint Users and Developers
This is a discussion on Detect a pushpin name change. within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is there any way of detecting when a user changes the name of a pushpin? I'm placing pushpins onto ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Detect a pushpin name change. I'm placing pushpins onto a mappoint control programatically from an SQL table containing the latitude, longitude and a description. If a user changes the name I want to update descriptio field of the corresponding record. |
| ||||
|
I think the best you might be able to do is something with the SelectionChange event? SelectionChange event - Occurs when a selection on the map changes. Otherwise you would be fiddling with the Mouse events? I really don't think there's an easy way.. hopefully you don't have so many pushpins and it's possible to loop through them to see if they've changed. Eric
__________________ Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here. |
| |||
|
Cheers, I used the SelectionChange event with the pOldSelection object determined the old selection was a pushin, retrieved the record ID stored in the note and ran an update query to save the name. I then determined if the new selection was aslo a pushpin and stored the ID from the pusphin note into a global vairable and reset the note (incase the user makes a change) on the next selection. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I need to change the cursor to a PushPin icon | BobFromBoston | MapPoint 2006/2009 Discussion | 5 | 10-10-2005 06:45 PM |
| How to change the pushpin programmatically ? | Anonymous | MapPoint 2006/2009 Discussion | 4 | 12-21-2004 04:50 AM |
| Can you change the style of a map? | sparky | MapPoint Web Service and Virtual Earth | 0 | 10-27-2004 12:23 PM |
| Is there anyway that I can change the colors of ma.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-13-2001 12:15 PM |
| Can I change the color of the over-all map? We wa.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-29-2000 12:56 PM |
Madeira Flights
The historic features of Madeira are complimented by top-notch facilities and plenty of water sports activities. Book Madeira flights online today.
Best Travel Agent
Travel Counsellors was recently voted the UK's Best Travel Agent at the Guardian Unlimited travel awards. Book your travel with an award winning travel agent.
Holidays in Italy
Holidays in Italy boast some stunning countryside as well as a beautiful coastline. You can even visit an active volcano like Stromboli or Etna. Book at dealchecker.co.uk.
Holidays to Bahamas
Choose from a number of extraordinary holidays to the Bahamas at The Holiday Place. See pictures of these beautiful islands online.
Turkey
Before booking a holiday to Turkey check out the ULookUBook travel guide. Find out about the rich culture in Turkey before you go there to help you to make the most of your holiday.
Travel In
Travel.co.uk is the one you are looking for when checking out price comparison sites, so that you can travel in the way you choose.
Cheap Holidays to Gran Canaria
Book a flight to the Canary Islands! View information on cheap holidays to Gran Canaria online at On The Beach.