Closed lainz closed 6 years ago
Thanks for reporting.
Hi Lainz. Does this still happen with development version? How to reproduce exactly?
Hi, I will try today
Hi, it still happens, I get an exception here:
function TVirtualGrid.GetCells(Col, Row: Integer): PCellProps;
begin
// todo: Check range
Result:=nil;
if (Col<0) or (Row<0) or (Col>=ColCount) or (Row>=RowCount) then
raise EGridException.CreateFmt(rsIndexOutOfRange, [Col, Row]);
Result:=FCells[Col,Row];
end;
Just do View > Image List. Then with no image loaded on that, scroll up and down several times, and then it happens.
I see it's a bug on the LCL...
Thanks very much now I understand. I have fixed in dev branch of LazPaint by disabling the grid in that case.
When the image list is empty and you scroll-up an error is shown.