C
chinasea
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.FormPaint(Sender: TObject);
var i:tcolor;
j:integer;
rgb_colorclred,clgreen,clblue);
begin
with paintbox1do
begin
for j:=1 to 3do
begin
for i:=clblack to integer(rgb_color(j))do
begin
canvas.pen.color:=i;
canvas.moveto(integer(i-clblack)+20,10);
canvas.lineto(integer(i-clblack)+20,50);
end;
end;
end;
end;
var i:tcolor;
j:integer;
rgb_colorclred,clgreen,clblue);
begin
with paintbox1do
begin
for j:=1 to 3do
begin
for i:=clblack to integer(rgb_color(j))do
begin
canvas.pen.color:=i;
canvas.moveto(integer(i-clblack)+20,10);
canvas.lineto(integer(i-clblack)+20,50);
end;
end;
end;
end;