Hi, list!

I have a very strange problem...
I defined a Field in my .rcp:

FIELD idFieldText AT (2 30 140 100) FONT 0 UNDERLINED MAXCHARS 1024
MULTIPLELINES HASSCROLLBAR

then, in my program, I try to assign a value:

Char str[256] = "Das ist ein Test!\nMal sehen... Es sollte was in mehreren
Zeilen sein!";
FldSetTextPtr(FrmGetObjectPtr(frm, FrmGetObjectIndex(frm, idFieldText)), str);
FldDrawField(FrmGetObjectPtr(frm, FrmGetObjectIndex(frm, idFieldText)));

the string will be display, but just in ONE line (\n will be ignored!) and I
can see just to "Es soll", the other text will not be displayed.

I read many examples, but I can't find my error...
Could you help me?

Thanks a lot!
Luca Bertoncello
([EMAIL PROTECTED])

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to