Thanks... I'll have to look at this a little closer when I get VFP9.
I do need the ability to single step the tool path though. I have a button when pressed draws one more path section, I can't draw it all at once. Damn it would be soooo easy if container had a line method.
>Joe,
>
>In VFP 9 you might be able to use Polypoints with the Shape or the Line objects. You just create an array with the X and Y coordinates (In percentaje of the area you set for its use) and it will plot the path you require. You might need to plot it twice, for you want a line and not a closed poligon, thus after the last point, you need to go backwards to the first point, something like (for a 2 lines path):
>
>DIMENSION thisform.PolyPath(5, 2)
>
>* The dimension should be (Nr of points - 1) * 2, in this case 4
>* I use the fifth point for illustration, but VFP would close the shape or line
>* automatically, making it unnecessary
>
>WITH thisform
> .PolyPath[1, 1] = 0
> .PolyPath[1, 2] = 25
>
> .PolyPath[2, 1] = 10
> .PolyPath[2, 2] = 50
>
> .PolyPath[3, 1] = 0
> .PolyPath[3, 2] = 75
>
> * You have your path, now to avoid VFP closing it to create a closed polygon
> * You go back to the first point, point by point
>
> .PolyPath[4, 1] = 10
> .PolyPath[4, 2] = 50
>
> .PolyPath[5, 1] = 0
> .PolyPath[5, 2] = 25
>ENDWITH
>
>
>You can read about Polypoints here:
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp9/html/87ee17b1-3794-4677-9239-c09b09bbbf52.asp