Hi all
When I call CategorySelect, it pops up an empty list. I can call
CategoryCreateList manually on a standard (non-popup) list and it works
great. Any idea what I could be doing wrong? Here's my popSelectEvent code:
switch (eventP->data.ctlSelect.controlID)
{
// category popup list
case popFoodsSetupCats:
// get a ptr to the active form
frmP = FrmGetActiveForm();
// let CategorySelect handle the popup
CategorySelect(FoodsDB,frmP,popFoodsSetupCats,lstFoodsSetupCats,true,&CatInd
ex,CatName,
1,categoryDefaultEditCategoryString);
handled = true;
break;
}
FoodsDB is a DmOpenRef to an open database. CatIndex and CatName are
globals. As I said, it works fine with CategoryCreateList so I'm a little
stumped.
thanks for any input
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/