DJ_Catboy
Jan 16th, 2004, 09:11 AM
Hi,
Really stupid easy stupid question probably...
I want to add some data to a text box but using code. So I am doing...
textBox1.AppendText("AddressLine\n\r");
I have added this code to a button, repeated presses make the textbox's contents as follows:
AddressLineAddressLineAddressLine
And then when I count the number of lines it is showing as 3 - however the carriage returns are not working correctly!
Please can somebody help me!
Thanks,
DJ
Really stupid easy stupid question probably...
I want to add some data to a text box but using code. So I am doing...
textBox1.AppendText("AddressLine\n\r");
I have added this code to a button, repeated presses make the textbox's contents as follows:
AddressLineAddressLineAddressLine
And then when I count the number of lines it is showing as 3 - however the carriage returns are not working correctly!
Please can somebody help me!
Thanks,
DJ