Hi Dave
> The problem with altering labels at run time is the char string you use to
> alter it must exist for the lifetime of the control or unpredictable things
> may happen. If you plan to modify the text often, it is best to use a field
> and not a label.
> So while FrmCopyLabel will work you must be careful to use it properly, or
> possibly crash the app.
I'm a bit confused about FrmCopyLabel():
I used to think, FrmCopyLabel() works similar to StrCopy() - copying the data from
source to destination and overwrite's it.
That's why the new string must not be longer than the initial string. In this case,
there would be no reason, why the source string has to exist as long as the label. And
the Palm OS reference manual doesn't say so either.
by(e)
Stephan
--
PGP Fingerprint: 0090 E02F 39A8 F2AF 6A79 43D7 B847 C26D 108E E2F0
PGP PublicKey: http://www.unet.univie.ac.at/~a9526342/sveigl.asc
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/