Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move points unsing polylines? 1

Status
Not open for further replies.

pierrotsc

Programmer
Nov 25, 2007
358
US
Ok, i'm using polylines. I know that for what i want to do, it is not the correct function. I want to be able to display a curve and be able to move the points to change the curve? Is that possible?
I may be asking too much but someone may be a master and have done that.
The curve has only 16 points.
Thanks.
PO
 
OK, i'm using the code from the first link. My knowledge is very low on this one. I have the syntax:
TempPolyline[0].Y:=550;
TempPolyline[0].X:=100;

I can draw lines...

I'm trying to find out the values of X & Y. The reason is that when i move the points, the temppolyne[0].X changes.

If i write valresult:=temppolyline[0].x; to get the updated value.

I get an error when the program runs and reach this line.

If anybody has 2mn to look at the source code, that would be awesome.

Thanks.
PO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top