Hi,

i am about to burst!!! how can i make my string break inside a textbox?
i mean with a control charater like "\n", but it does not work!

i have a string and i must set the wrap manuall, not controled by the
wordwrap property of the textbox. as i alread said: "\n" does not work!

Language s C#

how can i solve this.


Best Regards


Kerem Gümrükcü

Re: "\n" does not work inside a textbox control class by Jon

Jon
Sun Mar 06 02:59:35 CST 2005

Kerem G=FCmr=FCkc=FC <kareem114@hotmail.com> wrote:
> i am about to burst!!! how can i make my string break inside a textbox?
> i mean with a control charater like "\n", but it does not work!
>=20
> i have a string and i must set the wrap manuall, not controled by the
> wordwrap property of the textbox. as i alread said: "\n" does not work!

Use "\r\n" or Environment.NewLine instead.

--=20
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Re: "\n" does not work inside a textbox control class by Anubhav

Anubhav
Sun Mar 06 21:42:02 CST 2005

Use Environment.NewLine if framework, and the textbox should be multiline
"Kerem Gümrükcü" <kareem114@hotmail.com> wrote in message
news:u8GprOiIFHA.4060@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> i am about to burst!!! how can i make my string break inside a textbox?
> i mean with a control charater like "\n", but it does not work!
>
> i have a string and i must set the wrap manuall, not controled by the
> wordwrap property of the textbox. as i alread said: "\n" does not work!
>
> Language s C#
>
> how can i solve this.
>
>
> Best Regards
>
>
> Kerem Gümrükcü
>