Page 1 of 1

TPrintPreview zoom

PostPosted: January 7th, 2013, 10:35 pm
by Acheron
Hi!

In my application I create a ~5 page length report, which then gets rendered to the TPrintpreview component's canvases.
At first everythink looks great, abut when I zoom out with the mousewheel, the former state of the page stays there around the smaller one.When zooming to the opposite direction everything works fine.
I experienced turning on/off doublebuffering of the Form and/or the component, but nothing has helped so far.

Can you help me,please?

Thank you very much,
Bela

Re: TPrintPreview zoom

PostPosted: January 8th, 2013, 8:07 pm
by Acheron
Hi :)

I'm glad to inform you that the problem was a "user error"....Amid creating the report I changed canvas.Brush.Style to bsClear, and forgot to switch it back to bsSolid, and that caused the frames while zooming out.
So after all everything works well now.

Best regards,
Bela

Re: TPrintPreview zoom

PostPosted: January 9th, 2013, 6:30 am
by Kambiz
I'm glad to hear that the problem is resolved.