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.
----- Original Message -----
From: "Alan Ingleby" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 4:49 PM
Subject: Re: Change label text at run time?
> FormCopyLabel
>
> If the new label is shorter than the old one, first hide the label using
> FrmHideObject, change it, the show it.
>
> Regards,
>
> Alan Ingleby
> Systems Developer
> ProfitLink Consulting Pty Ltd
> 309 Burwood Road
> Hawthorn
> Victoria 3122
> Australia
> "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
> news:39770@palm-dev-forum...
> >
> > short answer:
> > use a field and make it non editable.
> >
> > long answer:
> > don't feel like typing, look in the message archives ;-)
> >
> > ----- Original Message -----
> > From: "Oscar" <[EMAIL PROTECTED]>
> > To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> > Sent: Thursday, February 15, 2001 1:13 PM
> > Subject: Change label text at run time?
> >
> >
> > > Which function should I call if I want to change the label text at run
> > time?
> > > Thanks
> > > Oscar
> > >
> > >
> > > --
> > > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/tech/support/forums/
> > >
> >
> >
> >
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/