Try to make the char* static.
e.g.

static char text[]="POPUP";
CtlSetLabel( labelP , text );

Mark
----- Original Message -----
From: "Michael Morton" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 12:36 AM
Subject: Setting popup label text


> hi all, how do you set the text of a popup control?
> i see that it is of ControlType, but when i do CtlSetLabel, it doesnt set
> the text.. (i have tried CtlDrawControl after CtlSetLabel, but still the
> label remains blank)
>
>
>
> --
> 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