Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining text from two RICH text textboxes
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00389346
Message ID:
00389410
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform