I
Iain Mcleod
Hi folks.
Surely this must be a FAQ...?
I've trawled the web and only found one other person complaining about it,
but no solutions...
I wish to open an rtf file and edit it with a
System.Windows.Forms.RichTextBox.
So I downloaded a sample app from
http://www.codeproject.com/cs/menu/nicemenu.asp?df=100&forumid=13667&exp=0&select=386117#xx386117xx
Basically this just allows for file-open and save etc. onto a RichTextBox.
I opened an rtf with tables in it and found that it doesn't display or edit
correctly. Try creating one in MS Word and then saving as RTF.
Table cells with contents larger than the width of the cell do not allow the
table cell to span multiple rows. Instead, the text overlaps the next cell
(similar to an excel spreadsheet cell whose contents are larger than the
size of the cell and which doesn't have a neighbour to the right).
I also cannot edit the size of the table cells.
However, if I have an app that uses controls based on riched32.dll (wordpad
uses this), it seems to display fine.
Another app which works correctly is Jarte (www.jarte.com). These were
probably created in c++, MFC which I don't want to use as my company is 100%
..NET.
Why is the RichTextBox control so buggy? Or is it something which can be
corrected programmatically?
I can't find a way of manipulating tables within the RichTextBox class. Is
this possible?
Many thanks
Iain
Surely this must be a FAQ...?
I've trawled the web and only found one other person complaining about it,
but no solutions...
I wish to open an rtf file and edit it with a
System.Windows.Forms.RichTextBox.
So I downloaded a sample app from
http://www.codeproject.com/cs/menu/nicemenu.asp?df=100&forumid=13667&exp=0&select=386117#xx386117xx
Basically this just allows for file-open and save etc. onto a RichTextBox.
I opened an rtf with tables in it and found that it doesn't display or edit
correctly. Try creating one in MS Word and then saving as RTF.
Table cells with contents larger than the width of the cell do not allow the
table cell to span multiple rows. Instead, the text overlaps the next cell
(similar to an excel spreadsheet cell whose contents are larger than the
size of the cell and which doesn't have a neighbour to the right).
I also cannot edit the size of the table cells.
However, if I have an app that uses controls based on riched32.dll (wordpad
uses this), it seems to display fine.
Another app which works correctly is Jarte (www.jarte.com). These were
probably created in c++, MFC which I don't want to use as my company is 100%
..NET.
Why is the RichTextBox control so buggy? Or is it something which can be
corrected programmatically?
I can't find a way of manipulating tables within the RichTextBox class. Is
this possible?
Many thanks
Iain