Página 1 de 1
TRichEdit
Publicado: Jue Sep 02, 2010 5:23 pm
por Maarten Roos
What is the best way to give an user a pre-created document when he enters the richedit module? So when he enters there is already a document on the screen. This document is a non-existing document.
I played with the cText property, but that didn't work? I like to pre-insert a logo, play with different font sizes etc etc
Is that possible?
TRichEdit
Publicado: Vie Sep 03, 2010 10:10 am
por ignacio
Maarten,
Is an empty new document. To load a document use the method LoadRTF.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4c7fc182$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> What is the best way to give an user a pre-created document
> when he enters the richedit module? So when he enters there
> is already a document on the screen. This document is a
> non-existing document.
>
> I played with the cText property, but that didn't work? I
> like to pre-insert a logo, play with different font sizes
> etc etc
>
> Is that possible?
>
>
TRichEdit
Publicado: Vie Sep 03, 2010 10:31 am
por Maarten Roos
Ok.... but how do I create a new 'empty' document with logo, text and values from regarding database I want to use?
For example: when an user put's in a contract and he wants to send to costumer, I want the program to create the contract within the Trichedit.
TRichEdit
Publicado: Vie Sep 03, 2010 2:17 pm
por Maarten Roos
Forget it... I must stop thinking in the Clipper way.
I am going to make rtf templates, load it, and search and replace what I want.
Thx
TRichEdit
Publicado: Vie Sep 03, 2010 10:43 pm
por Pedro Gil
Hi Maarten,
I suggest to you to check the example found at ..samplesrichpad.
Regards
"Maarten Roos" <m[dot]roos[at]ecem[dot]com> escribió en el mensaje de
noticias:4c7fc182$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> What is the best way to give an user a pre-created document
> when he enters the richedit module? So when he enters there
> is already a document on the screen. This document is a
> non-existing document.
>
> I played with the cText property, but that didn't work? I
> like to pre-insert a logo, play with different font sizes
> etc etc
>
> Is that possible?
>
>