I have a table to which I want to store entry directly
from my database. 1 entry = 1 row. However, the entry
can be only 10 characters or 100 characters. So I
don't know how I can know the number of rows I need to
draw initially. I did something like below but it
doesn't work when I call TblDrawTable(tableP). Please
help......
UInt16 cumHeight = 0;
for(int i = row; i < maxNumOfRows; i++)
{
cumHeight += TblGetRowHeight(tableP, i);
if(cumHeight <= TableHeight)
TblSetRowUsable(tableP, i, true);
else
break;
}
Thanks,
Victor
__________________________________________________
Do You Yahoo!?
Get clicking with thousands of local singles today!
http://asia.yahoo.com/lavalife
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/