David Tribble wrote in message <7051@palm-dev-forum>...
>
>> As far as I can tell, implementing the list draw callback is
>> always- as easy, if not easier, than the other way. It is also
>> more flexible. You might just want to get into the habit of
>> always using the drawing callback
>
>Just remember - when using a drawing callback the list doesn't keep track
of what text is
>displayed. If you want text from the list on a popSelect or lstSelect
event you can't go though
>the List pointer. You have to use the same method to get the text after
the event that you
>used to get the text for drawing.
>
Correct. I hadn't even thought of mentioning it because
generally I don't use the list text anyway, I use the list
selection #. And yes, that selection # is used to index
into an array of objects upon which I then do the work.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html