Hello to everybody,
I need help with zoom (during run-time) in LazReport.
I have created a report and I have pzDefault set in the "InitialZoom" property. When I change this property to e.g. pzWideScreen and start the internal preview (.ShowReport), this zoom change is reflected.
Since I don't like the internal preview, I created a new form with the frPreview element. I can load and display the report without any problems, but the zoom is reset to pzOnePage regardless of what is set in the "InitialZoom" property. I tried setting the zoom programmatically (on both pzTwoPages and pzWideScreen) but it still shows as one page.
Unfortunately, I did not find relevant information on the Internet about this problem.
And one more question, is it possible to set the zoom to specific percentages? So far I've only found four constants (pzDefault, pzOnePage, pzTwoPages and pzWideScreen), but I couldn't find anywhere how to put a specific value there, e.g. 75%.
I am attaching the test code and thanks for any advice.
I am attaching the test code and thanks for any advice.
George