Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending to RTF Memo
Message
De
02/09/2004 20:10:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Appending to RTF Memo
Divers
Thread ID:
00939016
Message ID:
00939016
Vues:
64
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform