Êàê ðàáîòàòü ñ êîìïîíåíòîì PrintPreview?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Êàê ðàáîòàòü ñ êîìïîíåíòîì PrintPreview?

Postby promoter » April 30th, 2004, 5:03 pm

Áëèí, ðóññêèé êòî òî ïîíèìàåò?
Êàê ðàáîòàòü ñ êîìïîíåíòîì PrintPreview?
Ñòîèò ïðîáëåììà, êàê çàãðóçèòü íà ôîðìó PrintPreview
ñîäåðæèìîå RxRichEdit? Ê ïðèìåðó: - îòêðûò òåêñòîâûé äîêóìåíò
ñ íàáðàíûì òåêñòîì è ãðàôèêîé. ß ñîçäàë íîâóþ ôîðìó ñ èìåíåì
"Ïðåäâàðèòåëüíûé ïðîñìîòð" íà ôîðìó êèíóë êîìïîíåíò PrintPreview
òåïåðü íåîáõîäèìî ñäåëàòü òàê, ÷òî áû ñîäåðæèìîå RxRichEdit
îòîáðàçèëîñü íà ôîðìå "Ïðåäâàðèòåëüíûé ïðîñìîòð".
Åñëè åñòü ó êîãî íèáóäü ïðèìåð(èñõîäíèê) è íå æàëêî ñêèíüòå
ïîæàëóéñòà.
Çàðàíåå áëàãîäàðåí!
promoter
Member
Member
 
Posts: 2
Joined: April 30th, 2004, 4:32 am

Postby Johnny_Bit » May 4th, 2004, 5:44 am

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
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

À òåïåðü âñå ýòî ïî ðóññêè ...

Postby promoter » May 4th, 2004, 9:11 am

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


À òåïåðü âñå ýòî ïî ðóññêè ...
Ñ àíãëèéñêèì ÿçûêîì ïðîáëåììà .
promoter
Member
Member
 
Posts: 2
Joined: April 30th, 2004, 4:32 am

Postby Kambiz » May 7th, 2004, 6:35 am

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.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby Johnny_Bit » May 10th, 2004, 9:38 am

god... i don't know what promoter wrote, but I smoehow feel, that Kambiz's answer is right.
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby Kambiz » May 10th, 2004, 1:28 pm

I thought that you have translated it! :lol:
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby Johnny_Bit » May 10th, 2004, 2:37 pm

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?
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby Kambiz » May 10th, 2004, 6:48 pm

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.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby Johnny_Bit » May 24th, 2004, 9:34 am

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...
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest