Hi,

I have problems with the Windows.Forms.RichtextBox Control of the VS.
I have a text that is written with WordPad. In this text there are tables.
The cells in the tables are holding multiple lines. When I copy & paste the
whole text, including the table, the table does not show up properly in the
richtextbox control. The cells are only single line. The text in the cells
does not wrap. The text in the cells actually leaves the cell.

I created two screenshot to ilustrate the problem:
Good Table in WordPad:
http://www.coredumped.de/pics/rtf-good.jpg

and here the table after copy and paste in the richtextboxcontrol:
http://www.coredumped.de/pics/rtf-bad.jpg

Is this a bug or intention that the richtextbox cant render tables properly?
I realy need the feature of tables. Is there a fix for it?

Thx
RV

Re: RichTextBox and Tables by John

John
Sun Apr 25 19:32:29 CDT 2004

Not sure -- but the richedit control definitely can render the tables
properly, because that's what wordpad is using.
Do you get the same effect if you save the wordpad RTF file and *load* that
into the richedit control, rather than copy/paste?

"Reinhard Vornholt" <vornholt@NOSPAM-coredumped.de> wrote in message
news:uE1TV1wKEHA.1272@tk2msftngp13.phx.gbl...
> Hi,
>
> I have problems with the Windows.Forms.RichtextBox Control of the VS.
> I have a text that is written with WordPad. In this text there are tables.
> The cells in the tables are holding multiple lines. When I copy & paste
the
> whole text, including the table, the table does not show up properly in
the
> richtextbox control. The cells are only single line. The text in the cells
> does not wrap. The text in the cells actually leaves the cell.
>
> I created two screenshot to ilustrate the problem:
> Good Table in WordPad:
> http://www.coredumped.de/pics/rtf-good.jpg
>
> and here the table after copy and paste in the richtextboxcontrol:
> http://www.coredumped.de/pics/rtf-bad.jpg
>
> Is this a bug or intention that the richtextbox cant render tables
properly?
> I realy need the feature of tables. Is there a fix for it?
>
> Thx
> RV
>
>



Re: RichTextBox and Tables by Reinhard

Reinhard
Mon Apr 26 06:42:23 CDT 2004

Hi John,

I just tested loading a file rather than copy and paste the rtf. But I get
the same error. When I load the same file in wordpad everything is ok. Like
on the screenshots... :(

Anyone can help? I really need tables in my RTF Box.

RV

"John Wood" <j@ro.com> schrieb im Newsbeitrag
news:u$cn6XyKEHA.2704@TK2MSFTNGP10.phx.gbl...
> Not sure -- but the richedit control definitely can render the tables
> properly, because that's what wordpad is using.
> Do you get the same effect if you save the wordpad RTF file and *load*
that
> into the richedit control, rather than copy/paste?
>
> "Reinhard Vornholt" <vornholt@NOSPAM-coredumped.de> wrote in message
> news:uE1TV1wKEHA.1272@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I have problems with the Windows.Forms.RichtextBox Control of the VS.
> > I have a text that is written with WordPad. In this text there are
tables.
> > The cells in the tables are holding multiple lines. When I copy & paste
> the
> > whole text, including the table, the table does not show up properly in
> the
> > richtextbox control. The cells are only single line. The text in the
cells
> > does not wrap. The text in the cells actually leaves the cell.
> >
> > I created two screenshot to ilustrate the problem:
> > Good Table in WordPad:
> > http://www.coredumped.de/pics/rtf-good.jpg
> >
> > and here the table after copy and paste in the richtextboxcontrol:
> > http://www.coredumped.de/pics/rtf-bad.jpg
> >
> > Is this a bug or intention that the richtextbox cant render tables
> properly?
> > I realy need the feature of tables. Is there a fix for it?
> >
> > Thx
> > RV
> >
> >
>
>