Skip to content

Replies

0
Linda
Linda answered on Aug 16, 2011 5:19 PM

Has there been a resolution to this? I have an untra textbox. I'm using vb.NET. I am building a string of text from multiple strings

(ex.) str = "ABC" & Environment.NewLine & "DEF" &  Environment.NewLine & "GHI"

and It shows up ABC||DEF||GHI in edit mode and properly when not.

Is there a way to show the text properly formatted?

Nevermind on this. I found the problem but I thought I'd post so maybe it helps someone. My problem was the the strings I am concatonating had embedded CRLF characters and it was the CRLF that was showing up as ||. I added a replace (string, vbCRLF, Environment.NewLine) and the display shows up fine.