Ezekiel,

Thanks for the suggestion.

Just to clarify, are you saying that if a row contains
one line (which my rows do) the height of the row is
equal to the height of a the line it contains given a
specific font?

Cheers,
Joe

--- Ezekiel Sanborndeasis
<[EMAIL PROTECTED]> wrote:
> 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/


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

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

Reply via email to