Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

I am deleting a pushpin from my Mapoint control. B....

This is a discussion on I am deleting a pushpin from my Mapoint control. B.... within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am deleting a pushpin from my Mapoint control. But there is no event fired when u press Delete key ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I am deleting a pushpin from my Mapoint control. But there is no event fired when u press Delete key which deletes the pushpin. Basically i want this event so that i can delete that pushpin record in the database which i add
    it when the user presses Add pushpin.


  2. #2
    Walt Cygan is offline Senior Member Green Belt
    Join Date
    Aug 2002
    Posts
    124
    Nothing simple comes to mind. You could get the VB keypress event but that wouldn't tell you what was deleted. You might get a datamapchange event, but that would only tell you which dataset was changed, not which item in the dataset was affected.


    Sorry, I can't think of anything really good.


    - Walt Cygan

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    MS recently posted a response to a similar question in the newsgroup:


    "If you are using the MapPoint control on a form, then add a button to the
    form that calls PushPin.Delete for the pushpin that is selected. The code
    triggered by that ushbutton can also delete the record from your dataset.
    You can also process the Map.SelectionChange event to determine what has
    most recently been selected."

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. microsoft mapoint
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-21-2004, 06:38 AM
  2. New map (Deleting)
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-21-2004, 03:21 AM
  3. Mapoint feedback
    By Anonymous in forum Wish List
    Replies: 0
    Last Post: 06-28-2004, 08:12 AM
  4. disabling deleting pushpin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-28-2004, 08:14 AM
  5. Mapoint and web pages
    By petenyce103 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-18-2003, 08:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83