I made this code:
function GetImageCountPerRow: Integer;
var
i: Integer;
begin
Result := -1;
for i := 0 to ImageEnMView1.ImageCount - 1 do
begin
if ImageEnMView1.ImageRow[i] = 1 then
begin
Result := i;
BREAK;
end;
end;
end;
CodeSite.Send('Index of first visible Image',
(ImageEnMView1.ViewY div ImageEnMView1.ThumbHeight) * GetImageCountPerRow);
It works. But do you think that this could be always reliable?