Use LstSetListChoices to set the number of items displayable on your list and LstSetDrawFunction(...) to do the drawing.
Your draw func will get called by the os for every list item that needs to be drawn on the form. you just make the string (from your record) and use WinDrawChars using the rectangle coord's passed to your function by the os. If the list is all the records in a palmdb, then the index that your drawing function gets from the OS is the same as the record index. so you can use that to get the record. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Can someone point me in the right direction > on how to create a dynamic List from records in a database. > O'Reilly suggests using either LstSetListchoices or LstSetDrawFunction ( > using WinDrawChars... in a nutshell) > > I'd essentially like to just cycle through my the palmdb and > fill the list as I go along? Any ideas? > > Thanks. > > > Nole Mailey > Data Conversion Specialist > ProfitMaster Canada > 1.800.340.4492 > www.pmcanada.com > [EMAIL PROTECTED] > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
