MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




SelectionChange event

This is a discussion on SelectionChange event within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; hi I am using SelectionChange event to return postal district but its not working. Private Sub MappointControl1_SelectionChange(ByVal pNewSelection As Object, ...


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 05-16-2006
Junior Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 25
SelectionChange event

hi

I am using SelectionChange event to return postal district but its not working.


Private Sub MappointControl1_SelectionChange(ByVal pNewSelection As Object, ByVal pOldSelection As Object)
' this sets value DoubleClikPosition to currently selected pushpin
If Flag = 1 Then
DoubleClickPosition = "" 'Variable read by Clarion - clear it
If Not pNewSelection Is Nothing Then
If TypeOf pNewSelection Is Pushpin Then
DoubleClickPosition = pNewSelection.Name
End If
End If
End If
End Sub

its not returning nothing but i do see a list details appear on the map of all the information i require.

Using : Mappoint 2004


I have a territory map created using UK's district postal data.

My requirement is to return the distict postal code the user has clicked within the area the click occured.

The user has to be able to click within a given district area and return the district code.

No pushpins can be plotted due to the requirements.



Thanks in advance
Yazzy
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
event, selectionchange


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
Is there any event for when the route is changed? stephenmillington MapPoint 2006/2009 Discussion 10 11-29-2005 04:02 AM
Where is the Quit event? Anonymous MapPoint 2006/2009 Discussion 3 04-08-2005 08:36 AM
VC++ OnSelectionChange event MP2KUser2 MapPoint 2006/2009 Discussion 0 10-13-2004 02:24 PM
How to add click event for VB.Net ? Anonymous MapPoint 2006/2009 Discussion 2 12-31-2003 01:15 AM
mouse down event henemonster MapPoint 2006/2009 Discussion 1 03-31-2003 03:04 PM


All times are GMT -5. The time now is 02:54 PM.


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


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