What are you setting TblSetItemSytle() to? Is column 1 a textTableItem? If
so, what are you doing in your load and save data procedures?

I have had this problem with textTableItem. It was caused by my messing up
allocation/deallocation in my load & save data procedures.

You can also try calling TblReleaseFocus() prior to chanigng forms. This has
helped me in the past, although I think the root cause of my problem was
messing up the deallocation in the save procedure.

Dave

"Marc Hedlund" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> 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/

Reply via email to