MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Could someone explain how item() works on shapes collection?

This is a discussion on Could someone explain how item() works on shapes collection? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I hope I not making this question is not too confusing...... I have a bunch of poly lines on a ...


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 12-15-2003
Junior Member
Yellow Belt
 
Join Date: Jul 2003
Posts: 13
Could someone explain how item() works on shapes collection?

I hope I not making this question is not too confusing......


I have a bunch of poly lines on a map and I want to send some of them behind the roads. I have a location array defined as Dim objTestPoly(1 To 4) As MapPointCtl.Location

I want some of the poly lines to go behind the roads and fill the polyline with yellow and as such I used the following code.

objMap.Shapes.AddPolyline objTestPoly
objMap.Shapes.Item(1).Fill.Visible = True
objMap.Shapes.Item(1).Fill.ForeColor = vbYellow
objMap.Shapes.Item(1).ZOrder geoSendBehindRoads
objMap.Shapes.Item(2).ZOrder geoSendBehindRoads
objMap.Shapes.Item(3).ZOrder geoSendBehindRoads
objMap.Shapes.Item(4).ZOrder geoSendBehindRoads


Some of them do not go behind the roads....

Can someone tell me when I am referencing item(1) am I referencing the 1st instance of the polyline or all the polylines?

Could someone point me to a better definition of the Item reference within a shape collection?


Thanks in advance for any help...
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
collection, explain, item, shapes, works


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
Advice Please... Access Code works but could be improved I.T. MapPoint 2006/2009 Discussion 9 01-20-2008 01:13 PM
garbage collection SimonPearse MapPoint 2006/2009 Discussion 6 01-05-2007 12:10 PM
Add item to right-click menus Anonymous MapPoint 2006/2009 Discussion 0 07-02-2004 08:22 AM
can you explain MappointCtl Anonymous MapPoint 2006/2009 Discussion 1 05-06-2004 09:51 AM
Export to Excel works from 'closed shapes'. Is i.... Anonymous MapPoint 2006/2009 Discussion 1 03-04-2002 09:54 AM


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

Cheap flights to Lisbon
Experience the amazing sight of the Lisbon Coast yourself. Pick from a selection of cheap flights to Lisbon on Holiday Hypermarket.

Home Based Travel Agent
Book your travel through a Home Based Travel agent. Travel Counsellors are a Queen's Award winning Travel Agent.

Thailand Holidays
Thailand Holidays can suit your budget when you book with dealchecker.co.uk. If you are strapped for cash, visit online to find the deal for you.

Holidays to Cancun
The Holiday Place has special offers on holidays to Cancun during the month of September. Book a late summer holiday with us!

Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.

Travel Tickets
Travel tickets need not always be expensive. Check out your best travel comparison site, Travel.co.uk

Cheap Lanzarote Holidays
The Canary Islands beckons you to come! View information on cheap Lanzarote holidays 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