hennigap
02-18-04, 07:30 AM
Hi
I can't get a carriage return linefeed working in a text box when I want to put text on a new line. When I add chr(13)+chr(10) to my string these appear as little black rectangles instead of starting a new line. I get the same from a vbCrLf.
What am I doing wrong? The line of code is simply:
textbox.text = textbox.text & chr(13)+chr(10) & "new line of text"
Thanks
Paul
I can't get a carriage return linefeed working in a text box when I want to put text on a new line. When I add chr(13)+chr(10) to my string these appear as little black rectangles instead of starting a new line. I get the same from a vbCrLf.
What am I doing wrong? The line of code is simply:
textbox.text = textbox.text & chr(13)+chr(10) & "new line of text"
Thanks
Paul