You might want to store your very-long-string in a string resource
instead of in code, thus reducing the amount of heap your app
requires. As for the reason it's not showing up - I'm suspecting that
it exceeds 65535 bytes, which is the maximum size a PalmOS Field
widget will accept. For displaying more text than that you'll have to
implement your own scheme for displaying the text. Using a
paged-access approach and a normal field for displaying the current
screen-full of text works rather well. If you want this to be editable
things become more complicated very quickly.

Brandon


On Thu,  3 Feb 2005 18:53:50 -0000, sre <[EMAIL PROTECTED]> wrote:
> i have an app that is 75k in the simulator, in my code i try to write a very 
> long const char to a field object for display, however, i am only able to 
> write/display a fraction of this long string, if i try to write the entire 
> string, none of the string is displayed... remedy for this, what do you 
> think... thank you for your help...
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please 
> see http://www.palmos.com/dev/support/forums/
>

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

Reply via email to