Page 1 of 1

Printpreview and PaintWinControl

PostPosted: December 16th, 2009, 5:42 pm
by MarcS
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

Re: Printpreview and PaintWinControl

PostPosted: December 16th, 2009, 9:53 pm
by Kambiz
Could you please post that part of your code that uses PaintWinControl method to draw labels?

Re: Printpreview and PaintWinControl

PostPosted: December 17th, 2009, 8:38 am
by MarcS
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