missing line breaks in a form popup visual basic with a multiline textbox
Posted on 2013-01-29
I use a form as a pop. I pass some test to display on the form. If I use a label, it looks correct. When I use a multiline textbox it strings all the text together without line breaks. How can I fix this?
Public Sub New(ByVal DisplayText As String)
'This call is required by the Windows Form Designer.
'Add any initialization after the InitializeComponent() call
strFormText = DisplayText
TextBox1.Text = DisplayText
Label1.Text = strFormText