why does popSelectEvent not do the job?
case popSelectEvent :
switch (event->data.popSelect.controlID){
case cbTest:
iSelectedIndex = LstGetIndex(listTest);
// if you want the label, use LstGetSelectedText
break;
}
that actually would do the job. if you used a popuplist resource to connect
the popuptrigger with the list, the label is updated automatically.
otherways you can set the label using CtlSetLabel afaik.
markus dresch (www.palmside.com)
"jason" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:108892@palm-dev-forum...
>
> my popuptrigger automatic connect with a list .I want to know when the
> popuptrigger change and what label it change to .i try to do that in
> popSelectEvent ,but i found that it does not work very well. Would you
kind
> to tell me some of your idea about the matter?
> Regards.
> jason
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/