Does the 2010 version fix this or do you have a work around yet.
Many Thanks
Andrew
Search found 7 matches
- Thu Jul 21, 2011 6:09 am
- Forum: ActiveX
- Topic: access polygon x,y values
- Replies: 10
- Views: 14902
- Thu Jul 14, 2011 8:33 am
- Forum: ActiveX
- Topic: access polygon x,y values
- Replies: 10
- Views: 14902
Re: access polygon x,y values
Hi Sandra, the code that allows me to add polygon is: Form1.OleControl1.Series(0).FillSampleValues() lnPolygon=Form1.OleControl1.Series(0).asMap.Shapes.Add Form1.OleControl1.Series(0).asMap.Shapes.Polygon(lnPolygon).AddXY(0,4.99) without line 2 the code will error. if I execute: lnX=Form1.OleControl...
- Wed Jul 13, 2011 3:57 pm
- Forum: ActiveX
- Topic: access polygon x,y values
- Replies: 10
- Views: 14902
Re: access polygon x,y values
Hi Sandra, I am adding using addXY and the polygons are being drawn. But a cannot read the points back from the polygon shape. I can read its text, color and visible state but not the points or count.
Or are you saying i must issue a fillsamplevalues before doing the addxy
Thanks
Andrew
Or are you saying i must issue a fillsamplevalues before doing the addxy
Thanks
Andrew
- Tue Jul 12, 2011 12:26 pm
- Forum: ActiveX
- Topic: access polygon x,y values
- Replies: 10
- Views: 14902
Re: access polygon x,y values
Hi Sandra, unfortunately the examples do not cover the map drawing so do not give me any clues.
Thanks
Thanks
- Tue Jul 12, 2011 9:58 am
- Forum: ActiveX
- Topic: access polygon x,y values
- Replies: 10
- Views: 14902
Re: access polygon x,y values
Hi Sandra, Im using V8 activex This is the code: Creating the map: FOR lnVertCount=thisform.oleShapeFile.Parts(lnThisPart).Begins TO thisform.oleShapeFile.Parts(lnThisPart).Ends lnNoParts=thisform.oleShapeFile.Vertices(lnVertCount).PartNo lnXCord=thisform.oleShapeFile.Vertices(lnVertCount).X_Cord ln...
- Tue Jul 12, 2011 9:07 am
- Forum: ActiveX
- Topic: access polygon x,y values
- Replies: 10
- Views: 14902
Re: access polygon x,y values
I can access all the polygon() properties except getpoints
which in the VB code works ok. Does anyone know how to get round this problem.
Thanks
which in the VB code works ok. Does anyone know how to get round this problem.
Thanks
- Mon Jul 11, 2011 3:47 pm
- Forum: ActiveX
- Topic: access polygon x,y values
- Replies: 10
- Views: 14902
access polygon x,y values
is there a way to access polygon x,y values using visual foxpro. The VB code example does not work
Any ideas
Any ideas