Jay,
To get the current list selection use:
pForm = FrmGetActiveForm();
LstGetSelection(GetObjectPtr(pForm, listID));
To get the text of the list selection use:
pForm = FrmGetActiveForm();
iSelection = LstGetSelection(GetObjectPtr(pForm, listID));
LstGetSelectionText(GetObjectPtr(pForm, iListID), iSelection);
Paul...
----- Original Message -----
From: "Jay" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 9:36 AM
Subject: Pop-Up Trigger
> Hello,
> I have a Pop-Up Trigger with a list of items. I was wondering if
anyone
> knew of some code that allowed me to click an item in the pop-up and have
it
> grab it's text. I know how to take a string / charptr and display it, but
I
> can't seem to get the text from the list.
>
> Thank you
> Jay
>
>
>
>
> --
> 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/