These are defined in chars.h:
#define chrLineFeed 0x000A
#define chrCarriageReturn 0x000D
chrLineFeed moves to a new line in a field; chrCarriageReturn produces the
"unprintable char". So, what you want is Line Feed, not Carriage Return.
> -----Original Message-----
> From: Marcelo Gorini
> Sent: Wednesday, February 28, 2001 2:04 PM
> To: Palm Developer Forum
> Subject: RE: Display of Returns in Text
>
>
> I think the return Character is 0x0A in hex
>
> -----Original Message-----
> From: Steve Mann
> Sent: Wednesday, February 28, 2001 2:34 PM
> To: Palm Developer Forum
> Subject: Display of Returns in Text
>
>
> If I create a form label with a return character in it (Return char
> on the keyboard, stored as hex 0x0d in the label string), when the
> form draws the label, the return character creates a new line.
>
> If I create a text field and draw the same character to it, however,
> it comes out as a non-drawable character (the vertical rectangle),
> not a return character.
>
> Does anyone have any idea _how_ I can get a Return character in a
> text field to start a new line? Thanks.
>
> Regards,
> Steve Mann
> --
> -------------------------------------------
> Creative Digital Publishing Inc.
> 1315 Palm Street, San Luis Obispo, CA 93401-3117
> -------------------------------------------
> 805.784.9461 805.784.9462 (fax)
> [EMAIL PROTECTED] http://www.cdpubs.com
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/