You right, I realised this after Id sent the mail, sorry

> -----Original Message-----
> From: JB Parrett [SMTP:[EMAIL PROTECTED]]
> Sent: 09 August 2000 15:46
> To:   Palm Developer Forum
> Subject:      Re: FrmCopyLabel
> 
> on 8/9/00 6:27 AM, Richard Anderson at [EMAIL PROTECTED]
> wrote:
> 
> > Two things you need to know about FrmCopyLabel:
> > 
> > 1. The new text must not be longer than the old text
> 
> In this case, the 'old text' is the text you provided when you created the
> label resource in Constructor (or Rez or PilRC). The word 'copy' in the
> function name implies you are copying the text to a buffer: the length of
> that buffer comes from the length of the resource label's string.
> 
> > 2. The pointer to the new text must remain vaild for the entire time the
> > label is displayed.
> 
> Not true - the FrmCopyXXX calls work as described above: the CtlSetXXX or
> FrmSetXXX calls work as you described.
> 
> > Better off using read only text fields if you do a lot of changing.
> 
> I fully agree. Plus, labels are often right-justified on Palm forms, and
> fields can be right-justified, but labels can't be.
> 
> ----------------------------------------------
> JB Parrett         
> Palm, Inc.         
> 
> When everyone actually _is_ out to get you,
> paranoia is just good thinking. - W. Allen
> ----------------------------------------------
> 
> 
> -- 
> 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/

Reply via email to