Hello,
I have already used all UI-elements with success but I have problems with
the table.The entries are not shown!
Here an example:
Boolean FTabFormHandleEvent(EventPtr eventP)
{
Boolean handled = false;
FormPtr frmP = FrmGetActiveForm();
switch (eventP->eType)
{
case frmOpenEvent:
{
FrmDrawForm (frmP);
TableInit ();
handled = true;
break;
}
......
}
return handled;
}
void TableInit (void)
{
UInt16 row, column;
UInt16 rowsInTable;
TablePtr table;
// Initialize the table.
table = GetObjectPtr (FGenFTabTable);
rowsInTable = TblGetNumberOfRows (table);
for (row = 0; row < rowsInTable; row++)
{
TblSetRowSelectable (table, row, true);
for (column = 0; column < MAX_FTAB_COLUMN; column++)
{
//TblSetItemStyle (table, row, column, textTableItem);
TblSetItemStyle (table, row, column, numericTableItem);
TblSetItemInt (table, row, column, column);
}
}
TblRedrawTable (table);
}
Why the table won't be drawn?
Another question: how do software developers deliver their software with a
palm?
Thank you for answering!
G�nther
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/