Hi SU

You told so much, that you might happily show the source
code - it would be much more clear then.

As a matter of fact: you need to do that while processsing
popSelectEvent, otherwise the list might be hidden, in
which case selection index in unpredictable.


M.


-----Original Message-----
From: SU DUY TRINH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 13 December 2001 3:03 PM
To: Palm Developer Forum
Subject: Garbage data when I access text of selected item in pop lits


Hi All,
   I have a pop list(popup trigger has ID is
TwoSelect2PopTrigger and its list has ID is
TwoSelect2List),I use GetObjectPtr() to receive
pointer to popup trigger and its list,then I use
LstGetSelection(pList) to receive index of selected
item in list and LstGetSelectionText(pList,index) to
receive text of selected item in the pop list,but the
text that I receive is garbage,sometimes,it has the
report:Access "Low Level memory",What am I wrong?
Thanks,
Trinh

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.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/

Reply via email to