> From: steve wanhella [mailto:[EMAIL PROTECTED]]
> Im having trouble drawing a list from an array of strings.
> Here is my Code :
It appears you have a global object named Restaurant that contains all the
information you want in the list. And in fact Restaurant contains an array
of tables that maps directly to the list items. If so, then don't waste
time and memory creating a string array that just duplicates the same
Restaurant info. Instead, set up a draw callback function with
LstSetDrawFunction and then draw each item directly from the Restaurant
array as needed.
(Check the archives for details on this technique.)
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/