Here is the code I'm using:
// QUEUES...(relating to tickets)... each queue has a table
for (i = 0; i < MAX_QUEUES; i++)
{
table = FrmGetObjectPtr(pForm, FrmGetObjectIndex(pForm, tableArray[i]));
numRows = TblGetNumberOfRows(table);
for(j = 0; j < numRows; j++) {
TblSetItemStyle(table, j, 0, tallCustomTableItem);
TblSetItemInt(table, j, 0, (i * 256) + j);
TblSetRowUsable(table, j, true); // I know this is redundant
}
// Do this for each column (just one for now)
TblSetColumnUsable(table, 0, true);
TblSetCustomDrawProcedure(table, 0, MainFormDrawItem);
}
FrmDrawForm(pForm);
Just to repeat, the cells/tables display just fine, it's just there's no event
created whenever I click/tap on it...
Thanks,
Andrew
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/