MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




don't delete pushpin

This is a discussion on don't delete pushpin within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Iam using VB6. I want user not able to delete a pushpin with delete key. There is no keypress event ...


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

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 03-03-2005
Junior Member
White Belt
 
Join Date: Mar 2005
Posts: 1
don't delete pushpin

Iam using VB6. I want user not able to delete a pushpin with delete key. There is no keypress event on MapControl. Does any one know how to do this?

Thanks
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 03-03-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Hi,

I think the most easy approacht is to prohibit the user that he can select the pushpin.Something like this should work for you, You can do it in SelectionChange for example:

Code:
            if (MP.ActiveMap.Selection is Pushpin)
                unSelectPushPin(MP.ActiveMap.Selection);
Of course other approach may be possible too, but this looks a simple one, and I'm a simple person liking simple solution
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
delete, 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
Need to add Pushpins, but be able to delete them easily BobFromBoston MapPoint 2006/2009 Discussion 1 04-18-2006 02:12 PM
Delete Pushpin from PushpinSet (or DataSet) prior to moving SeanMcGinty MapPoint 2006/2009 Discussion 2 12-20-2004 10:37 AM
Don't delete my pushpins! Anonymous MapPoint 2006/2009 Discussion 2 06-15-2004 11:39 AM
delete countries Anonymous MapPoint 2006/2009 Discussion 1 11-19-2002 10:59 AM
Is there a way in MP2002 to delete addresses from .... Anonymous MapPoint 2006/2009 Discussion 1 05-06-2002 08:15 AM


All times are GMT -5. The time now is 08:04 AM.


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

French Ski Holidays
French ski holidays will suit all skiers and most taste buds too. There is a huge range of accommodation from self-catered or catered chalets to all-inclusive luxury hotels.

Portugal Holidays
Find great Portugal Holidays with Travel Counsellors. A personal Travel Counsellor can help you plan the perfect holiday to Portugal.

Flights Canada
Our search results will show you a selection of airlines, travel agents and tour operators offering cheap flights to Canada. See for yourself who has the cheapest deals.

Bahamas Holidays
Bahamas Holidays offer pure blue skies, soft white beaches and the holiday of a lifetime. Visit us for a great deal to the Bahamas.

Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?

Bargain family holidays
We can help you find family holidays at bargain prices when you check out the options at Travel.co.uk

Holidays to Gran Canaria
The Canary Islands await! Book 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 48 49 50 51 52