TPrintPreview zoom

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TPrintPreview zoom

Postby Acheron » January 7th, 2013, 10:35 pm

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
Acheron
Active Member
Active Member
 
Posts: 10
Joined: December 5th, 2012, 9:53 pm

Re: TPrintPreview zoom

Postby Acheron » January 8th, 2013, 8:07 pm

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
Acheron
Active Member
Active Member
 
Posts: 10
Joined: December 5th, 2012, 9:53 pm

Re: TPrintPreview zoom

Postby Kambiz » January 9th, 2013, 6:30 am

I'm glad to hear that the problem is resolved.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron