Consider this quote, straight from the PalmSource documentation:

"Use the field resource to create an editable text field that is
either a single-line long or multiple lines long. You can also use the
field resource to create noneditable text that is displayed on the
form. It is easier to use noneditable text fields instead of labels if
the text of the label changes dynamically."
http://www.palmos.com/dev/support/docs/constructor/CGR_CatalogRsrcs.html#1013628

Certainly you could be ultra careful to use StrNCopy, have length
constants for every label, and add dummy characters to your resource
any time you need to use a longer string. However, I think it's safer
to use the noneditable field method. If nothing else, consider that at
some point, somebody else will take over maintenance of your projects.
Will this new maintainer remember to add the dummy character?

Adrien.

Wednesday, October 13, 2004, 4:24:30 PM, you wrote:

MB> So far in my dozen or so released applications, this method has produced no
MB> problems.




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

Reply via email to