PDA

Click to See Complete Forum and Search --> : I can't send newline to TextBox


dmartin17
Apr 26th, 2002, 12:05 PM
using a multiline text box i cannot seem to send the return/new line character with the \n how else can i send it a carrage return?

kovan
Apr 26th, 2002, 02:24 PM
two ways
"\n\r"

or use Environment.NewLine (use this one)

dmartin17
Apr 26th, 2002, 03:00 PM
"\n\r"
That won't work in a multiline textbox, brings up thoe weird rectangle symbols.

The Evnrionment.newline works liek a charm though.

thanks again guys

kovan
Apr 27th, 2002, 01:01 PM
it must be \r\n