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

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

Posted:
May 4th, 2004, 5:44 am
by Johnny_Bit
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
À òåïåðü âñå ýòî ïî ðóññêè ...

Posted:
May 4th, 2004, 9:11 am
by promoter
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
À òåïåðü âñå ýòî ïî ðóññêè ...
Ñ àíãëèéñêèì ÿçûêîì ïðîáëåììà .

Posted:
May 7th, 2004, 6:35 am
by Kambiz
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.

Posted:
May 10th, 2004, 9:38 am
by Johnny_Bit
god... i don't know what promoter wrote, but I smoehow feel, that Kambiz's answer is right.

Posted:
May 10th, 2004, 1:28 pm
by Kambiz
I thought that you have translated it!


Posted:
May 10th, 2004, 2:37 pm
by Johnny_Bit
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?

Posted:
May 10th, 2004, 6:48 pm
by Kambiz
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.

Posted:
May 24th, 2004, 9:34 am
by Johnny_Bit
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...