Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending to RTF Memo
Message
From
02/09/2004 20:10:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Appending to RTF Memo
Miscellaneous
Thread ID:
00939016
Message ID:
00939016
Views:
62
I've been fighting with this all day and reading a number of threads here, but I can't find this issue addressed anywhere. If anyone has any ideas I'd greatly appreciate it:

The bottomline:

How do you append text from an RTF control into a memo that already has existing formatted text without losing formatting?

I have a form that has an RTF Ole control that's bound to a memo field of a table. Users can view notes here. A click on a command button takes them to another screen where they can enter notes, then those notes need to get added to the existing notes and control returns to the the initial form.

If I try:
REPLACE MyMemo WITH MyMemo + this.olectrl.textRTF 
It won't display correctly because the initial control characters for the RTF are in the memo field twice.

If I try:
REPLACE MyMemo WITH MyMemo + this.olectrl.text 
I of course lose the formatting of this.olectrl.

I've tried a number of different ways to merge the existing RTF code, but I cannot figure it out.

Any suggestions?!?

Thanks!

Rob
Next
Reply
Map
View

Click here to load this message in the networking platform