Heiner Litz wrote:
>
> Hi
>
> I used FrmCopyLabel() and it worked, but I had to build the label in
> constructor with some text in it or the programm would crash if I copied
> some text with FrmCopyLabel into an empty label field.
>
> Strange: If I copied only 1 or 2 letters it worked but more the program
> crashed.
This behaviour is clearly specified in the docs, it even says what you
have to do. See Palm OS Reference / FrmCopyLabel:
The size of the new label must not exceed the size of the label defined in the
resource. When defining
the label in the resource, specify an initial size at least as big as any of the
strings that will be
assigned dynamically.
With kind regards / Mit freundlichem Gru�
Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED] http://www.klawitter.de
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/