MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Detect a pushpin name change.

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-09-2004
Junior Member
White Belt
 
Join Date: Jul 2004
Posts: 8
Detect a pushpin name change.

Is there any way of detecting when a user changes the name of a pushpin?
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-09-2004
Eric Frost's Avatar
Administrator
Black Belt
 
Join Date: Jul 1992
Posts: 2,210
Blog Entries: 1
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-10-2004
Junior Member
White Belt
 
Join Date: Jul 2004
Posts: 8
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 11:46 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

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.


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 37 38 39 40 41 42 43 44 45 46 47