471,599 Members | 1,038 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

Marge RTF strings

Hi,
1- I am going to marge contents of 3 RichTextBox (RTF) to one RTF string.
Do you know any componet to make it simple?
2- Do you know a good RTF Editor and also a HTML Editor component in C# .
thanks.
Dec 18 '05 #1
2 3060
sb Luis wrote:
Hi,
1- I am going to marge contents of 3 RichTextBox (RTF) to one RTF
string. Do you know any componet to make it simple?
Just concatenate the strings, should be ok. Or use one richttextbox
and append the other text to that one, then grab the full text.
2- Do you know a good RTF Editor and also a HTML Editor component in
C# . thanks.


The richtextbox should be enough. All you need is to add some
edit-oriented buttons which effectively switch on/off stuff in the
richtextbox, for example that the selection is now bold, or italic...

FB


--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Dec 18 '05 #2
Hi,
There is a problem in concatenating the strings or using one richttextbox
and append the other texts. when I run the following codes:
1) RichTextBox3.Text = String.Concat(richTextBox1.Text, richTextBox2.Text);
2) RichTextBox4.Rtf = String.Concat(richTextBox1.Rtf, richTextBox2.Rtf);

in (1) Non formated Text is the result.
in (2) there is a problem, and the result will be 'richTextBox1.rtf'.
Do have a solution?
S. Luis.
"Frans Bouma [C# MVP]" <pe******************@xs4all.nl> wrote in message
news:xn***************@news.microsoft.com...
sb Luis wrote:
Hi,
1- I am going to marge contents of 3 RichTextBox (RTF) to one RTF
string. Do you know any componet to make it simple?


Just concatenate the strings, should be ok. Or use one richttextbox
and append the other text to that one, then grab the full text.
2- Do you know a good RTF Editor and also a HTML Editor component in
C# . thanks.


The richtextbox should be enough. All you need is to add some
edit-oriented buttons which effectively switch on/off stuff in the
richtextbox, for example that the selection is now bold, or italic...

FB


--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------

Dec 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

20 posts views Thread by Ravi | last post: by
17 posts views Thread by Gordon Airport | last post: by
16 posts views Thread by Paul Prescod | last post: by
4 posts views Thread by agent349 | last post: by
25 posts views Thread by Rainmaker | last post: by
6 posts views Thread by Broeisi | last post: by
14 posts views Thread by manstey | last post: by
95 posts views Thread by hstagni | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.