table in TPrintPreview
Select messages from
# through # FAQ
[/[Print]\]

DELPHI AREA -> DELPHI AREA's Products

#1: table in TPrintPreview Author: flydragon PostPosted: 10/03/05 11:32
    —
Hello!

I used the TPrintPreview and it's work very well! Well done!

Only one "bug" I found:

I load a RTF with tables in a RichEdit, and here I see correctly the document with the tables, but when I create the preview (with PaintRichText), a visible problem occurrs: the first page doesn't end to the bottom margin, but it continues until the end of the page, and the next page doesn't start from the correct point. In conclusion a piece of document is not rendered in the preview.

I checked the offset returned, and it seems the tables are interpreted to a single row (this is my supposition).

Maybe it could be a problem relating a Win dlls... I don't know..

Any suggestion is welcome.
Thanks a lot!!!

(I use WinXP SP2)

flydragon

#2:  Author: KambizLocation: Tehran, Iran PostPosted: 10/03/05 14:50
    —
It could be Delphi's RichEdit control bug. I do suggest to use RxRichEdit. Then, to pass the control to the Preview's print method, type cast it to TCustomRichEdit.



DELPHI AREA -> DELPHI AREA's Products


output generated using printer-friendly topic mod. All times are GMT

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group