You can get the required line height given a font by setting the system font to mach 
the table element, calling FntLineHeight and then setting the system font back.

sysFont = FntSetFont(tableFont);
coordHeightOfFont = FntLineHeight();
FntSetFont(sysFont);

Are all your table rows single line?

-Ezekiel

**************
Hello Forum,

My challenge is that the height of rows in my program
change during run time.  On scrolling the table, I
want any rows that have increased in size to revert to
a default size.  I do not want to hard code this
default size.  Hence my question; is it possible to
determine the number of pixels required for a row
dynamically given a font?

Many thanks in advance for any help/suggestions.

If the above is not clear, please let me know.

Cheers,
Joe

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

Reply via email to