MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth 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 a ...


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

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #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
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 3,041
Blog Entries: 2
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
__________________
~ Now taking orders for MapPoint 2009 ~
~~
~ Upgrade to MapForums Plus membership ~
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

Tags
change, detect, pushpin


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 07:05 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Hurghada Holiday
Enjoy sunny Egypt when you book a Hurghada holiday through UlookUbook at a good price!



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 48 49 50 51 52 53 54 55 56 57 58 59