> case lstSelectEvent:{ //breakpoint here
If you are using codewarrior this break point was probably a faded red,
meaning you cant break on this line

>      FormPtr frmP;
>      UInt16 inex;


Try putting  a break point on one of the following lines

> lstP = (ListType *) FrmGetObjectPtr(frmP,
> FrmGetObjectIndex(frmP, MainDBSelectList));
> inex = LstGetSelection(lstP);
> theText = LstGetSelectionText(lstP, inex);
> //Get a pointer from the select DB and use it to
> //find the DB
> FillListWithDB(lstP); //dynamic function
> }

I don't see where you set frmP. Make sure you have frmP=FrmGetActiveForm()
before you try to use frmP. Otherwise, what you have shown us looks OK
unless I've overlooked something.


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

Reply via email to