Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combining text from two RICH text textboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00389346
Message ID:
00389410
Vues:
21
Benn,

do you want to combine them into to text box or do you want to combine them on a report. For the first you should try cutting and pasting. If you do this by hand than it works. If you want to do something like c = a + b where both A and B are RTF-string than you are out of luck. The rtf control box will not accept multiple {\rtf...} phrases.

What you can do is the following:
The rtf always start with the '{\RTF' and ends with '}'
Instead of making the controle with {\rtf...}{\rtf...} you should do some manipulation to do the following:
{\rtf...{\rtf...}}
This works like a charm. Be aware that RTF likes to store a \PAR at the end of the phrase. If you remove this than you phrase will look beautiful without loosing its content.

Good luck,

Ron Brahma

>Hi,
>
>Can anyone help me with combining the text from two RICH text textboxes. The font and color settings may not disappear
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform