If i a string like "Hello\rworld", with '\r' representing a CR char (0x0D)
in between "Hello" and "world", I would want to see "World" displayed. Or
for a better example "aaa\rb" would display "baa".
Chris
Avilla, Dane <[EMAIL PROTECTED]> wrote in message
news:59810@palm-dev-forum...
>
> I'm a little confused at what you are asking . . . can you elaborate? It
> sounds like you need to display the string representation of the newline
> char, so:
>
> "hello
> world"
>
> would be displayed as "hello\nworld" by your custom field. Whenever a
<CR>
> is entered, your field would display "\n" and whenever you backspace over
> the "n" in "\n" you want the cursor to eat the "\" char as well. For
> example, if you had the string "hello\n" with the cursor after the "n" and
> the user hits backspace, you want the field to display "hello".
>
> Is this the goal? If not, please try to clarify a bit.
>
> Cheers,
>
> -DGA
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/