Printpreview and PaintWinControl

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

Printpreview and PaintWinControl

Postby MarcS » December 16th, 2009, 5:42 pm

Hello,
I don't speek a very good english.
My problem is in using PaintWinControl : If i call more tan one time PaintWinControl, only my last component will draw.
I use printpreview to print labels, each labels is a tmemon containing text, image ... : if i have only one label it will print on the rigth place, il i have two only the second will print and let the place of the first blank.

Thanks
MarcS
MarcS
Member
Member
 
Posts: 2
Joined: December 16th, 2009, 4:59 pm

Re: Printpreview and PaintWinControl

Postby Kambiz » December 16th, 2009, 9:53 pm

Could you please post that part of your code that uses PaintWinControl method to draw labels?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: Printpreview and PaintWinControl

Postby MarcS » December 17th, 2009, 8:38 am

Hello,
Sorry, it look like a bug in my application :oops: the labels are empty except the last one.
Thanks for your help and your excellent component.
Best regards
MarcS
MarcS
Member
Member
 
Posts: 2
Joined: December 16th, 2009, 4:59 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest