Adding a field that is a Formatted Memo field?
Posted: Wed Nov 15, 2006 5:32 am
Hi.
I want to do this in a template (to be used at runtime to show a single page that can be previewed and/or printed):
a) I like to insert among other fields one that is a small memo.
Is it possible to do it and delimit the area inside the page where the
memo would be displayed?
example : this is the page
The {...} are fields, and I would like to have the (rtf) content of the field {memo1} shown in that square. Is it possible? (Any demo?)
b) how can I insert a text from a regular Delphi Richedit into Richview,
so that font (color, size, style) and spacing of the text is kept?
(this is programmatically, i.e. I read the Richedit text frrm the
component and I want to copy it to a Richview component without
losing fonts and spacing). E.g the memo above.
Thanks.
I want to do this in a template (to be used at runtime to show a single page that can be previewed and/or printed):
a) I like to insert among other fields one that is a small memo.
Is it possible to do it and delimit the area inside the page where the
memo would be displayed?
example : this is the page
Code: Select all
|-----------------------------------------------------------------------------|
| My Dear: {cust_name} |
| I like to remind you of the following: |
| |
| Contest: | {memo1} --------------------------------------------| |
| | | |
| | | |
| |_______________________________________________________| |
| |
| This will applay for 30 days, starting from today {today_date} |
| |
| |
|_____________________________________________________________________________|
b) how can I insert a text from a regular Delphi Richedit into Richview,
so that font (color, size, style) and spacing of the text is kept?
(this is programmatically, i.e. I read the Richedit text frrm the
component and I want to copy it to a Richview component without
losing fonts and spacing). E.g the memo above.
Thanks.