L
longer
Unregistered / Unconfirmed
GUEST, unregistred user!
我想给timer的 ontime赋值 ss,可是不行
procedure TLine.ss(bmp:TBitmap);
begin
with bmp.Canvasdo
begin
if pen.Color<>clred then
pen.color:=clred
else
pen.color:=clblue;
moveto(bassPoint.x,basspoint.y);
lineto(secPoint.x,secpoint.y);
end;
end;
procedure TLine.ss(bmp:TBitmap);
begin
with bmp.Canvasdo
begin
if pen.Color<>clred then
pen.color:=clred
else
pen.color:=clblue;
moveto(bassPoint.x,basspoint.y);
lineto(secPoint.x,secpoint.y);
end;
end;