Try FrmCopyLabel(), CodeWarrior is real fussy about
displaying static Text
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:bounce-palm-dev-forum-52655@;news.palmos.com]On
Behalf Of Richard
Coutts
Sent: Friday, November 15, 2002 8:10 AM
To: Palm Developer Forum
Subject: Updating Label after CtlSetLabel
I do a lot of custom drawing on my form and need to
change a label's
contents often. I'm having a problem where everytime I
refresh the form, my
custom drawing is erased.
I was using a monochromatic POSE ROM where the two
following lines would
change the label's text and redraw it's contents:
CtlSetLabel(ctlP, text);
FrmDrawForm (formP);
It worked fine and didn't erase my custom drawing.
But, I just installed
"palmos35-en-colordbg.rom" and am getting a different
behaviour -- the text
is still changing properly, but the "FrmDrawForm(...)"
call is erasing all
of my custom drawing. I tried using "CtlDrawContol" to
just refresh the
contol and not the whole form, but it didn't work for
me.
Thanks!
Rich
--
For information on using the Palm Developer Forums, or
to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/