I have a form, where I am using the vb.net powerpacks to generate lines at run time.
Sub line()
Dim ShapeCon As New ShapeContainer
Dim testLine As New LineShape
AddHandler testLine.Click, AddressOf linedown
ShapeCon.Parent = Me
testLine.Parent = ShapeCon
testLine.StartPoint = linearray(linecounter).startpos
testLine.EndPoint = linearray(linecounter).endpos
distancelabelposition()
End Sub
I am reading the starting and ending positions from an array.
I am successful in having the line created. However I have been trying for days now to somehow have these lines saved in an array.
For example: when each line is created, it is stored in an array which I can access in order to remove lines and change lines starting and ending positions which are already on the canvas.
Please help me out.
Thanks in advance.

New Topic/Question
Reply




MultiQuote





|