I have two different forms, both of which contain a table. The event
handlers for both of these forms never seem to get any of the tbl* events
when I click in a table cell. All other events get delivered just fine,
including the form events, field events, ctl events, etc. It's only the
table events that aren't happening. Is there something special that you
need to do to get tbl events to come through??
I'm using the Gnu C environment and pilrc to build the app. Here's some
relevent code snipets; thanks for any help you might be able to offer!
>From the resource file:
TABLE ID tableID_expenseTable AT (PREVLEFT PREVBOTTOM+2 AUTO AUTO)
ROWS 8 COLUMNS 4 COLUMNWIDTHS 33 33 38 38
>From the event loop:
Boolean ExpenseEventLoop(EventPtr event)
{
#ifdef __GNUC__
CALLBACK_PROLOGUE
#endif
switch (event->eType)
{
case tblEnterEvent:
FrmAlert(alertID_debug);
break;
case tblSelectEvent:
FrmAlert(alertID_debug2);
break;
}
#ifdef __GNUC__
CALLBACK_EPILOGUE
#endif
return handled;
}