Hi, I have been programming on a mac for a while and I have now found a serious bug, that kept me from doing my work. I cannot use the canvas.pixels command it shows this error on picture. Has anyone clue what is wrong? Thanks
Simple example code which doesn't work :
procedure TForm1.Button2Click(Sender: TObject);
var
i,j:integer;
begin
for i:= 0 to 23 do
begin
for j:= 0 to 39 do
begin
image2.canvas.pixels[i,j] := image1.canvas.pixels[i,j];
end;
end;
end;