I fill a Multiline Editbox with a string loaded from a StringTable.

How can I insert a LineFeed in my string. This works for a static but not for an editbox



IDS_About_Licence "bla bla bla \012 bla bla bla"
Posted on 2003-07-10 09:03:51 by greenant
In C you have to use \r\n , so in assembly it should be \010\012, shouldn't it?

IDS_About_Licence  "bla bla bla \010\012 bla bla bla"


Ciao
Posted on 2003-07-10 09:31:56 by LuHa
erhm 10,13 I think not 10,12 (?) :)
Posted on 2003-07-10 09:33:42 by Hiroshimator
These work for a static

    [*]\r
    [*]\n
    [*]\r\n
    [*]\012


    This works for an editbox

      [*]\r\n



      From the Psdk : STRINGTABLE Resource


      One or more strings, enclosed in quotation marks. The string must be no longer than 4097 characters and must occupy a single line in the source file. To add a carriage return to the string, use this character sequence:

      One or more strings, enclosed in quotation marks. The string must be no longer than 4097 characters and must occupy a single line in the source file. To add a carriage return to the string, use this character sequence: \012. For example, "Line one\012Line two" defines a string that is displayed as follows:
      Line one
      Line two
      2. For example, "Line one

      One or more strings, enclosed in quotation marks. The string must be no longer than 4097 characters and must occupy a single line in the source file. To add a carriage return to the string, use this character sequence: \012. For example, "Line one\012Line two" defines a string that is displayed as follows:
      Line one
      Line two
      2Line two" defines a string that is displayed as follows:
      Line one
      Line two
Posted on 2003-07-10 13:57:49 by greenant

erhm 10,13 I think not 10,12 (?) :)


Ups, my fault :D. \012 should be octal notation, so \012 = 0x0A and \015 = 0x0D (and not \010 as I first wrote).
Posted on 2003-07-10 14:53:22 by LuHa



Ups, my fault :D.
Originally posted by LuHa


Ups, my fault :D. \012 should be octal notation, so \012 = 0x0A and \015 = 0x0D (and not \010 as I first wrote).
2 should be octal notation, so
Originally posted by LuHa


Ups, my fault :D. \012 should be octal notation, so \012 = 0x0A and \015 = 0x0D (and not \010 as I first wrote).
2 = 0x0A and
Originally posted by LuHa


Ups, my fault :D. \012 should be octal notation, so \012 = 0x0A and \015 = 0x0D (and not \010 as I first wrote).
5 = 0x0D (and not
Originally posted by LuHa


Ups, my fault :D. \012 should be octal notation, so \012 = 0x0A and \015 = 0x0D (and not \010 as I first wrote).
0 as I first wrote).


Try reversing those. :) Last time I checked, it's Carriage Return and then Line Feed. (You've got them backwards.) Unless the norm changed on me while I was asleep.
Posted on 2003-07-11 14:11:11 by FunkyMeister
In C you have to use \r\n [...]


Yes, you are right. Carriage Return (\r) and New Line (\n). In hex 0x0D 0x0A. My last post was only to explain the octal stuff, not the correct order.
Posted on 2003-07-11 14:42:55 by LuHa