new line and carige return in multiline textbox

  • Thread starter Thread starter Mats Boberg
  • Start date Start date
M

Mats Boberg

Hi,

Why doesn't multiline textboxes support "\n\r"? What am I doing wrong? I'm
getting squares where the new line should be.
I get the same when i retreiving strings from the
erpsystem->Server->Webservice...

It feels abit wierd when I have deliverd a 800 h workhours application to a
customer and I can't solve that issue ; )
There must be an easy solution... I must be blind...

--
Mats Boberg

Regfellow
Kattsundsgatan 12:5tr
21126 Malmö
Sweden

Tele: +46 40 611 48 20
Mob: +46 70 486 87 57
 
It supports it just fine. It's carriage return/line feed or \r\n. You've
got them in the wrong order.

-Chris
 
Ah, thanx... late night programming does wonders, but mostly blunders...

Do you have any tip what I should say to the ERP(navition/axapta) people to
get correct formated strings?

Or do I have to replace "[]" with "\r\n" my self...

/Mats
 
It sounds like your data are coming from a unix server. Unix uses \n for new
line. Windows uses \r\n. You can safely replace \n with \r\n - not such a
big deal.
 
Back
Top