I've been trying to create a vector shape with Lingo, sort of plotting a graph. But
when try to manipulate the vertex handles, nothing happens.
My code is:
property myVect
property myVertexCount
on beginSprite me
myVect = new(#vectorShape)
myVect.addVertex(1, point(0, 0))
myVect.regPoint = point(0, 0)
myVertexCount = 1
end beginSprite me
on mouseUp me
vPoint = value("[" & member(1).text & "]")
myVertexCount = myVertexCount + 1
myVect.addVertex(myVertexCount, vPoint]
end mouseUp me
Any way that I can retain control over the handles?
One solution we came up with was to add handles to the nodes while creating them. The
values could be very negligible. Seems quite ok, if nothing else shows up.
Thanx
_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]