Gordon,
The VStudio resx editor has poor support for editing strings that contain
line breaks. To work around this problem, simply insert the desired line
breaks (press "enter" on the keyboard, don't type "\r\n") while editing the
resx file in XML view.
HTH,
Nicole
"Gordon" <anonymous (AT) discussions (DOT) microsoft.com> wrote
Quote:
I am removing all strings from my code and adding to a
resource table, however I am unsure how to handle newline
constants. Currently my strings are
"blah blah \r\nMake your selection"
however when I add this string to the resource file and
get it using rm.GetSting(...) it just display the literal
text with no new line.
Help much appreciated? |