Drawing a line in LC7

Terence Heaford t.heaford at icloud.com
Sun Mar 1 11:51:16 EST 2015


I use the following routine to draw lines for charts in LC 6.7.3

on drawLine x,y,x1,y1,tColor
   lock screen
   set the style of the templateGraphic to polygon
   create grc in me
   put the id of the last grc of me into tID
   set the forecolor of grc id tID to tColor
   set the points of grc id tID to x,y,x1,y1
   set the locked of grc id tID to true
   unlock screen
end drawLine

When I run the project in LC 7.0.3 the lines do not draw.
Is there a reason for this?

When I look in the group, all the graphics exist.


All the best

Terry


More information about the use-livecode mailing list