Thanks guys, but I have solved this issue already. Steve K
"Tom Hoelscher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > According to the Palm OS Reference, if the list is visible when you call > LstSetListChoices, you will need to call LstDrawList to update the list. > > > -Tom > > > > It has been a few days and I have not heard on this, so I thought I would > > post again. > > > > I am trying to set the choices in a list using LstSetListChoices, and know I > > am getting very close to getting it to work. > > > > I call my function to populate the list and I receive no error and I get no > > data displayed in my list. > > > > Here is the function. > > > > static char* gPlateString = > > "PL3/16x\0PL1/4x\0PL5/16x\0PL3/8x\0PL1/2x\0PL5/8x\0"; > > static char** gListString; > > MemHandle gStringH; > > > > static Boolean PopulateList(FormType* frmP, ListType* lstP) > > { > > gStringH = SysFormPointerArrayToStrings(gPlateString, 6); > > gListString = (char**)MemHandleLock(gStringH); > > > > LstSetListChoices(lstP, gListString, 6); > > MemHandleUnlock(gStringH); > > > > return true; > > } > > > > ... > > > > case frmCloseEvent: > > MemHandleFree(gStringH); > > break; > > > > tia, > > > > Steve > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
