Textbox
-
Hi to everyone, i want to use a textbox and write in some debug message during the execution of my program. My problem is when i use this->textbox->AppendText("text to append") i don't known how go to next line. With old printf for c-like syntax i use "\n" but in my case if i use it, it goes to the next line but i see a little square at the end of the line. Another thing...what is when i declare a string the letter L at the begin? String^ v=L"Succeeded.."; Thanks for answers,regards.
-
Hi to everyone, i want to use a textbox and write in some debug message during the execution of my program. My problem is when i use this->textbox->AppendText("text to append") i don't known how go to next line. With old printf for c-like syntax i use "\n" but in my case if i use it, it goes to the next line but i see a little square at the end of the line. Another thing...what is when i declare a string the letter L at the begin? String^ v=L"Succeeded.."; Thanks for answers,regards.
Append Environment.NewLine to the text.
-
Append Environment.NewLine to the text.
Also make sure that you set your textbox to multiline.