Page 1 of 1

TRichView\Demos\Delphi\Assorted\Printing\Printing

Posted: Wed Feb 22, 2017 1:29 pm
by jota
Hi

When you execute this demo, you can resize form and, automatically resize the TRVPrintPreview content too.

If you click zoom of this content two times, the size enlarges and returns to its original size. if later you resize form, TRVPrintPreview remains with the same size.

Why does it occurs? Can be maintained the resizing?

Thanks in advance

Re: TRichView\Demos\Delphi\Assorted\Printing\Printing

Posted: Wed Feb 22, 2017 6:39 pm
by Sergey Tkachenko
In the current implementation, clicking switches between the current ZoomPercent and 100%.
Unfortunately, ZoomMode is reset to rvzmCustom.
Normally, previewing form has controls allowing to assign rvzmFullPage or rvzmPageWidth to ZoomMode.

I'll consider switching not only ZoomPercent but also ZoomMode in future versions.