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



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

Reply via email to