From: "Karen M Serafino" <[EMAIL PROTECTED]>
Subject: LstSetListChoices


> Does anyone have a WORKING example or explanation of how to set the items
> of a list to string values read from a database?  I do not have a
> stringtable resource with the items all set up; I need to read them from
> a database.  I set up a packed string of null-terminated strings and
> called SysFormPointerArrayToStrings to create the array of pointers to
> pass to LstSetListChoices, but it just blanks out the old items in the
> list and leaves it empty after I draw the form again..  Thank you.

Sounds like you might not have properly set up the packed string.  One thing
to keep in mind is that the packed string you pass in and the MemHandle that
SysFormPointerArrayToStrings returns both have to exist as long as the list
exists for this to work.



-- 
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