TppImage ShiftRelativeTo a TppRichEdit?
Hi,
I have to develop a letter which mail merge information from our database.
I follow the dg and use a TppRichEdit to accomplish that.
I have to print the signature at the end of the letter so I use a TppImage.
However, depends upon the information in the database, the height of the
RichEdit varies (the RichEdit stretch is set to true) so it sometimes
conflicts with the signature.
I cannot add the TppImage to the TppRichEdit. The TppImage does not have
the ShiftRelativeTo property. I have tried to change the top of the
TppImage to the height of the TppRichEdit in the band's beforeprint event,
the TppRichEdit's OnPrint event and the TppImage's OnPrint event without
luck.
Can someone tell me how to do this?
Thanks,
Ping Kam
I have to develop a letter which mail merge information from our database.
I follow the dg and use a TppRichEdit to accomplish that.
I have to print the signature at the end of the letter so I use a TppImage.
However, depends upon the information in the database, the height of the
RichEdit varies (the RichEdit stretch is set to true) so it sometimes
conflicts with the signature.
I cannot add the TppImage to the TppRichEdit. The TppImage does not have
the ShiftRelativeTo property. I have tried to change the top of the
TppImage to the height of the TppRichEdit in the band's beforeprint event,
the TppRichEdit's OnPrint event and the TppImage's OnPrint event without
luck.
Can someone tell me how to do this?
Thanks,
Ping Kam
This discussion has been closed.
Comments
Try placing the image inside a TppRegion component with the ShiftRelativeTo
set to the TppRichEdit. You can turn the border of the region off using the
Pen.Style property.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks,
Ping Kam