Have you tried calls like LstGetSelection and LstGetSelectionText? They are
both documented in
the reference manual. And I think you shouldn't return handled=true from
popSelectEvent.

So something like

case popSelectEvent:
   if(eventP->data.popSelect.controlID == MyPopTrigger)
   {
     frmP=FrmGetActiveForm();
    list=(ListType *)FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP, MyList));
    selection=LstGetSelection(list);
   }
break;

should work..

/Henrik

"jason" <[EMAIL PROTECTED]> skrev i meddelandet 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/

Reply via email to