New line in TextBox
-
hi there i have a problem using a text box i have a text multiline box (accepts return = true) and TextBox1.Text=varText. varText is a text with many lines (in fact is an XML source indented) if i show the text with MessageBox.Show(TextBox1.Text) it looks fine but in the edit box instead of 'new line' i have '|' what can i do? any idea? thanks in advance for your help
-
hi there i have a problem using a text box i have a text multiline box (accepts return = true) and TextBox1.Text=varText. varText is a text with many lines (in fact is an XML source indented) if i show the text with MessageBox.Show(TextBox1.Text) it looks fine but in the edit box instead of 'new line' i have '|' what can i do? any idea? thanks in advance for your help
-
i had the same problem but i solved it like this: msgbox.text = "texttext\r\n"; and it worked for mem so i suggest u should try that! // trones