can anyone explain me what's wrong with this code??
image1.Canvas.Brush.Color:=clblue;
image1.canvas.FillRect(0,0,image1.Width,image1.height);
image2.Transparent:=true;
{image2.Picture.Bitmap.TransparentColor:=clblack;
image2.Canvas.Brush.Color:=clblack;
image2.canvas.FillRect(0,0,image2.Width,image2.height);}
image2.canvas.Pen.Color:=clred;
image2.Canvas.Pen.Style:=pssolid;
image2.Canvas.Line(0,image2.height,image2.width,0);
i simply would like image1 to stay in the background, and image2 to show the red line only (and the rest transparent)...
thank you, Paolo