Hey,
I'm working with a two-column table which is intended to forward the user
to a detail view form if they click on either column's text. The text for
column 0 is read out of a database record; the text for column 1 is stored
in a global array of MemHandles that are initialized on form load and
freed on form close.
When I click on the text in column 0, the code works as planned. I can
click on column 0 as many times as I'd like. When I click on column 1, I
get this error:
<app> called SysFatalAlert with the message:
"MemoryMgr.c, Line: 4359, Free handle".
The table select event handler is as follows:
case tblSelectEvent:
gCurrentRecord = TblGetRowID(event->data.tblSelect.pTable,
event->data.tblSelect.row);
FrmGotoForm(RecordDisplayForm);
handled = true;
break;
I'm confused as to why this would cause the app to behave any differently
based only on where the click landed. Any pointers? I'm wondering if
maybe the table is trying to invert the cell text on click...
Thanks much,
Marc Hedlund
e: marc at precipice dot org
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/