Hi Jonathan,
Do you just need to store the selection of the list somewhere, or do you
need to work with the selection immediately when it's made?
If you're just interested to get the selection, there's no need to trap the
lstSelectEvent/popSelectEvent - a simple call to LstGetSelection and
LstGetSelectionText will get you what's currently selected from the list.
If, however, you need to work with the selection immediately (e.g. user
selects an item and you need to display detail info for this item on the
screen), then check for the lst/popSelectEvent.
To find out more about these, read about:
- lstSelectEvent (p.103)
- popSelectEvent (p.91)
- LstGetSelection (p.327)
- LstGetSelectionText (p.328)
The page numbers refer to the Palm OS Reference, which you do have right
next to you when you're coding, right? ;-)
Claudio
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Johnathan Smith
> Sent: Wednesday, September 05, 2001 8:14 AM
> To: Palm Developer Forum
> Subject: How can I tell if a user clicks on a list/popup
>
>
> How can I tell if a user clicks on a list/popup
>
> Then how do I get the text from the item?
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com
>
> --
> For information on using the Palm Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/