The popup trigger and the list it's associated with are two different
objects, so you need to call LstSetSelection on the list, and then
CtlSetLabel on the trigger.

Holger Klawitter wrote:
> 
> Fredrik Persson wrote:
> >
> > How do I set the label for a popuptrigger (not in the contructor).
> 
> Use CtlSetLabel( popupPtr, newLabel )
> As newLabel will not be copied, it must not be a stack local.
> 
> Regards,
>         Holger Klawitter
> --
> Holger Klawitter                                    +49 (0)251 484 0637
> [EMAIL PROTECTED]                            http://www.klawitter.de/

-- 
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