new line and carige return in multiline textbox

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
 
C

Chris Tacke, eMVP

It supports it just fine. It's carriage return/line feed or \r\n. You've
got them in the wrong order.

-Chris
 
M

Mats Boberg

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
 
A

Alex Feinman [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Reading .txt files 2
Controls in form 4
PPC Application icon 16x16 and 32x32 10
GotFocus event 1

Top