Josh, sounds like you've been doing things the hard way up til now...
If you correctly link your popup trigger and associated list ( by setting
the List ID attr of the trigger ) all that work you've described happens
*automagically* for you! ie The list will be shown until the user selects
an item, at which time the list will be hidden again (don't forget to
un-check the Usable attr for the list in Constructor when you build the
form). The default action then is for the selected text from the list to be
placed in the popup trigger's label. However, you can intercept the
popSelectEvent and do whatever you like...
HTH,
Gavin
Josh Narins wrote:
>[EMAIL PROTECTED] writes:
>
> > When a list from a PopTrigger is selected, a popSelectEvent is
> > generated, and from there we can get the selection made on the list.
>
>huh?
>'when you get a popSelectEvent you make the trigger unusable and
>show the list.
>
>Then you get a list event, after which you make the list invisible
>and make usable the trigger (and perhaps redraw what was under
>the list)
>
>You make it sound like the popSelectEvent is what happens when
>you choose something from the list.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/