Hi, I'm having I lot at problem getting a Table UI control to show its data. I have created the table with constructor, and the code is as follows: TablePtr pTable; FormPtr frmP; char *text = new(char[10]); StrCopy(text,"Hello"); frmP = FrmGetActiveForm(); pTable = (TablePtr)FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP, ViewDataSourcesTable)); TblSetItemStyle(pTable, 0, 0, numericTableItem); TblSetItemStyle(pTable, 1, 0, labelTableItem); TblSetItemInt(pTable, 0, 0, 5); TblSetItemPtr(pTable, 1, 0, text); TblSetRowUsable(pTable, 0, true); TblSetRowUsable(pTable, 1, true); TblRedrawTable(pTable); Nothing at all gets drawn in the table. What am I doing wrong? Regards Jimmi -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
