I am trying to create a dynamic pop-up list via LstNewList() and populating list with LstSetListChoices(). I am using this list in conjunction with a table which uses the pop-up list and therefore would prefer to populate my list instead of overriding the draw messages as internally tables rely upon the list text items being set. Everything works fine when I use a list created from a resource, but when I use the one created with LstNewList(), I get a failure within the OS regarding accessing RAM that's no allocated.

Would anyone have some example code or advice regarding how to handle creation of dynamic pop-up lists? I notice that access to the internal struct of a list is now off-limits, however can't seem to find how to set some of the internal flags and settings dynamically. For example, I can't seem to find a way to modify the width of the list dynamically, only set it with LstNewList(). Also, I don't see how I can set the search attribute. I suspect that I am creating the list and the pop-up part of this equation is not being created - however, its unclear how I would do this without resources.

thanks,

Scott Schmitz.


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to