Have a look at

FrmGetLabel(..)
and
FrmCopyLabel(..)

Luc Le Blanc wrote:
I use CtlSetLabel on a label object to change its text. But with POSE
runing a 4.1 debug ROM, I get told this is not a control object. Is
there another API I should use?

FormPtr form = FrmGetActiveForm();
static Char string[ 32 ];
...
CtlSetLabel( ( ControlPtr ) FrmGetObjectPtrFromID( form,
SessionNumShotsLabel ), string );


-- Luc Le Blanc




-- Stefan Stolz AWIN-Software

eMail: [EMAIL PROTECTED]
WWW:   http://www.awin-software.de

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to