MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




[Why such a behaviour] ???

This is a discussion on [Why such a behaviour] ??? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I create some shapes with the AddDrivetimeZone method. It seems to be a nice tools but something happens when ...


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 06-03-2003
Vincent BENNER's Avatar
Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 41
[Why such a behaviour] ???

Hello,

I create some shapes with the AddDrivetimeZone method. It seems to be a nice tools but something happens when I zoom on a pushpin... During the shape construction, the map center on the pushpin that I use to create the Shape... so, I loose the context of the consultation...

This is the code. I don't use any .SELECT or .GOTO method ! The ctrlSLIDER is a slider control to increase or decrease the drivetimezone...

Code:
For i = 1 To 10
        Set objLOC = Me.ctrlMAPPOINT.ActiveMap.FindPushpin("PP" & i).Location
        Set objSHAPE = Me.ctrlMAPPOINT.ActiveMap.Shapes.AddDrivetimeZone(objLOC, Me.ctrlSLIDER.Value * geoOneMinute)
        Select Case Me.ctrlSLIDER.Value
        Case 0 To 20
            objSHAPE.Line.ForeColor = vbGreen
        Case 21 To 40
            objSHAPE.Line.ForeColor = RGB(255, 128, 0)
        Case Else
            objSHAPE.Line.ForeColor = vbRed
        End Select
    Next i
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
behaviour


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
Strange behaviour with square brackets. fergdeff MapPoint 2006/2009 Discussion 4 01-07-2006 04:27 AM


All times are GMT -5. The time now is 03:27 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


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