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 

Как работать с компонентом PrintPreview?

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


Joined: 30 Apr 2004
Posts: 2

PostPosted: 30/04/04 17:03    Post subject: Как работать с компонентом PrintPreview? Reply with quote

Блин, русский кто то понимает?
Как работать с компонентом PrintPreview?
Стоит проблемма, как загрузить на форму PrintPreview
содержимое RxRichEdit? К примеру: - открыт текстовый документ
с набраным текстом и графикой. Я создал новую форму с именем
"Предварительный просмотр" на форму кинул компонент PrintPreview
теперь необходимо сделать так, что бы содержимое RxRichEdit
отобразилось на форме "Предварительный просмотр".
Если есть у кого нибудь пример(исходник) и не жалко скиньте
пожалуйста.
Заранее благодарен!
Back to top
View user's profile
Johnny_Bit
Moderator


Joined: 15 Jun 2003
Posts: 142

PostPosted: 04/05/04 05:44    Post subject: Reply with quote

What language do you write?

About Question: What?? You want to combine RxRichEdit and TPrint Preview, i think that won't be a problem, just analize how TPrintPreview do it with normal rich edit, and simply addapt it to your needs
Back to top
View user's profile
promoter
Member


Joined: 30 Apr 2004
Posts: 2

PostPosted: 04/05/04 09:11    Post subject: А теперь все это по русски ... Reply with quote

Johnny_Bit wrote:
What language do you write?

About Question: What?? You want to combine RxRichEdit and TPrint Preview, i think that won't be a problem, just analize how TPrintPreview do it with normal rich edit, and simply addapt it to your needs


А теперь все это по русски ...
С английским языком проблемма .
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 366

PostPosted: 07/05/04 06:35    Post subject: Reply with quote

Johnny_Bit wrote:
What language do you write?

About Question: What?? You want to combine RxRichEdit and TPrint Preview, i think that won't be a problem, just analize how TPrintPreview do it with normal rich edit, and simply addapt it to your needs


You should type cast RxRichEdit to TCustomRichEdit on passing it to appropriate TPrintPreview methods.
Back to top
View user's profile Send e-mail Visit poster's website
Johnny_Bit
Moderator


Joined: 15 Jun 2003
Posts: 142

PostPosted: 10/05/04 09:38    Post subject: Reply with quote

god... i don't know what promoter wrote, but I smoehow feel, that Kambiz's answer is right.
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 366

PostPosted: 10/05/04 13:28    Post subject: Reply with quote

I thought that you have translated it!
Back to top
View user's profile Send e-mail Visit poster's website
Johnny_Bit
Moderator


Joined: 15 Jun 2003
Posts: 142

PostPosted: 10/05/04 14:37    Post subject: Reply with quote

eliminate non-latin characters, and there you go...

ps. Why not write support for Jedi VCL (it's such popular those days..., and also have rxlibrary in itself)

ps. smething tells me that launguage that those weird chars are written is armenian.. am i right?
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 366

PostPosted: 10/05/04 18:48    Post subject: Reply with quote

The .NET provides us everything easier. So, I think there is no need to improve TPrintPreview or things similar to that.

By the way, the text should be in Cyrillic alphabet and probably in Russian.
Back to top
View user's profile Send e-mail Visit poster's website
Johnny_Bit
Moderator


Joined: 15 Jun 2003
Posts: 142

PostPosted: 24/05/04 09:34    Post subject: Reply with quote

ha! now i know what he asked... good for me i know russian...

i think that what Kambiz posted is right, but you can also extract PrintRichEdit method, and adjust it to RxRichEdit...
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