Hello everyone,

I would like to know how to populate a table over and over again by using table redrar table..
my code its as follows..
tP = FrmGetObjectPtr(frmP,FrmGetObjectIndex(frmP,TestTableUnnamed5101Table));

for (j = 0 ; j < 6; j++)///Here is my proplem ,Am I calling it correct????
{
TblMarkTableInvalid (tP);
TblRedrawTable (tP);
//Set style
for (i = 0; i < 5; i++)
{

TblSetItemStyle (tP, 0, i , labelTableItem);
TblSetItemPtr (tP, 0 , i , title[i]);
//Fill cells with values
//TblSetItemInt(tP, i, i, y);
}

//Set column usable (may require also to set row usable!)
TblSetRowUsable(tP, 1, true);
for (i = 0; i < 5 ; i++)
TblSetColumnUsable(tP, i, true);

//Fill cells with values
//TblSetItemInt(tP, i, i, y);

TblHasScrollBar (tP, true);
}

Basically, what I want to do its to redraw the SAME table 6 times and be Able to scroll between them..Thank in Advanced for your time and help..



_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


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

Reply via email to