DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TPrintPreview visualization problems

 
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
flydragon
Member


Joined: 16 Jun 2004
Posts: 6

PostPosted: 08/04/05 10:15    Post subject: TPrintPreview visualization problems Reply with quote

Hello!

I loaded into TPrintPreview a very big file rtf
(more than 1000 pages)...

and when I PaintRichText, the result is a rtf code instead a correct document.

Something like:
"{\rtf1\ansi\ansicpg1252\uc1\de..."

At first time I thought that the PlainText property of RichEdit was true, but it was false!

Probably the file is corrupt (I thought), but the file is correct, because if I save it to file from RichEdit and open with WordPad, the document is perfect.

I don't have more ideas...

Did someone ever seen this problem?

Tanks,

^-flydragon-^

ps: 800MHz, 256MB RAM, WinNT
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 430
Location: Tehran, Iran

PostPosted: 17/04/05 21:12    Post subject: Reply with quote

Did you try it with RichPrint demo?
Back to top
View user's profile Send e-mail Visit poster's website
flydragon
Member


Joined: 16 Jun 2004
Posts: 6

PostPosted: 18/04/05 11:14    Post subject: Reply with quote

thanks for your suggestion!

I found the reason of the problem:
the RichEdit.

I don't know why the RichEdit doesn't work correctly in my program or in with my document.
I found a new RichEdit that show me exactly my document correctly into TPrintPreview.

Therefore the TPrintPreview has no one bug! Smile

Thanks by the way!

^-flydragon-^
Back to top
View user's profile
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group