How are you defining the list items? You'll need to make another array of string pointers to each item in the list, or define your own custom draw function.
Oh, and I don't know if it's in your code or not, but "Change/Wrong address" is over 15 characters, so increase the size of this field so it can hold the string and the null terminator. -- Tim Kostka http://www.nuprograms.com "zakibakar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi all...... > i'm having a problem with dynamic list.....i'd like my application to > have a popup list with items defined from the PDB....i've look from > examples in the websites, but all are storing item as individual record > in database.....what i'm trying to do is to store items for each popup > list as an array inside the PDB and loaded in on frmOpenEvent. > Unfortunately, the display is not as expected but rubbish words...is > anyone out there know how can i fix this problem and display the list > properly ???? btw, i'm defining the list as follow : > > > typedef struct DBConfigType > { > char *state[16]; > char *comment[15]; > }DBConfigType; > > . > . > . > . > > confRecord.comment[0]="Nobody In"; > confRecord.comment[1]="Change/Wrong address"; > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
