Thanks for the help. I used FldRecalculateField() and text displayed
properly, but the scrollbar doesn't show up. Here's my new code:
#define About_text
"1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n"
Char *test = About_text;
form = FrmGetActiveForm();
FrmDrawForm(form);
fieldindex = FrmGetObjectPtr(form,FrmGetObjectIndex(form,AboutField));
FldSetTextPtr(fieldindex,test);
FldRecalculateField(fieldindex,true);
FldDrawField (fieldindex);
This is what I have in my .rcp file:
FIELD ID AboutField AT ( 5 5 140 60) USABLE LEFTALIGN NONEDITABLE
MULTIPLELINES HASSCROLLBAR
The string that gets displayed is cut off after 10.
-Nathan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/