I can't do this, because the list crashes when I select an item without
handled=true;
HowY wrote in message <8012@palm-dev-forum>...
>
>
>Nicholas Breau <[EMAIL PROTECTED]> wrote in message
>news:8004@palm-dev-forum...
>>
>> I have two popup lists on a page in an application, and they work fine,
>> except when I make a selection, that selection is not display in the
popup
>> trigger when the list disapears (after item selection).
>
>
>Don't pass handled=true and let the system redraw the
> popup for you it's just a quick fix....
>
>
>a snip from an eventloop for assistance...
>
>list=GetObjectPtr(1007); // id of popup's list<-
>selection=LstGetSelectionText(list, eventP->data.popSelect.selection);
>
>// you can capture the list string
>StrCopy(MyStruct.String, selection);
>
>// handled = true; // not yet we'll let the system redraw our popup &
form
>
> break;
>
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html