I had similarly frustrating situation, which was due to 
the way I had specified the table resource. The rows were
not high enough to display the text. You might want to check
into that. I can only fit 12 rows on my screen.

Scott

At 07:10 AM 9/14/01 -0700, Johnathan Smith wrote:
>Below is a sample of my code can someone please tell
>me why my tabke dont display
>
>Row 1
>..
>Row 10??
>
>
>static void MainFormInit(FormPtr frmP)
>{
>
>    char drow [20];
>    
>    TablePtr tableP2 = (TablePtr)FrmGetObjectPtr( frmP,
>FrmGetObjectIndex( frmP,MainMyTable));
>    
>    for(int i = 0; i <10; i++)
>    {
>       TblSetItemStyle(tableP2, i,0, labelTableItem);
>       StrPrintF( drow, "Row %ld", i + 1);
>       TblSetItemPtr(tableP2, i,0, drow);
>       TblSetRowUsable(tableP2, i, true);
>    }
>    TblSetColumnUsable(tableP2, 0, true);
>// FrmDrawForm(frmP);   
>}
>
>__________________________________________________
>Terrorist Attacks on U.S. - How can you help?
>Donate cash, emergency relief information
>http://dailynews.yahoo.com/fc/US/Emergency_Information/
>
>-- 
>For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to