Description	 In page mode it could happen that the last page after scrolling down is not displayed because the calculation of the page size in UpdateSizes() is incorrect.
This modification adds the correct page overhead used in DrawPages() to the page size.
But there is still another problem.
With very large paper sizes (e.g. A0) the automatically calculated page scale is sometimes a bit too large and the page gets invisible.
This is due to a minor bug in TJvCustomPreviewControl.GetLesserScale().
The function MulDiv() is rounding the result of the calculation, but this is not what we need here because the scale could get larger as it should be.
solves this problem because we avoid the rounding effect.
(happens with very small paper).
Clipping the drawing area to the paper size in DrawPreview() solves this problem.
You could simply use the existing JvPrevwDemo and open a multi page text file.
Now change the size of the application in such a way, that it's width is larger than the height (so the size of the preview only depends from the application height).
Scroll down to the last page of the preview. It should be invisible (if not change the application height a bit or use a larger file).
When scrolling back the pages only get visible if you scroll up to the first page.
Sorry, my last note was incorrect.
that it's width is very much smaller than it's hight.
In the full page mode there must be a free gray area on top and below the preview page, but not on the side (The preview page size must be specified by the width of the previewer)!
Could you use Wink (http://www.debugmode.com/wink/) [^] to create a video of how to proceed?
i have added a wink package of the scrolling problem.
As you could see, when reaching page 11 the the page vanishes.
When scrolling pack, the pages get only visible when reaching page 1 again.
fixed in bug report 5817.
Thanks for the wink package I now see how you do it.
Ok, one needs a very high display to have this happen. Or, like I did, change the minimal width for the window and after that one can see it.