At 04:14 PM 10/25/2004, you wrote:
So how is rowHeight calculated? In the constructor I
have a table with 6 rows and Height 72, and the
rowHeight returns 11. I expected it to be 12. Does it
add in pixels for headers and footers?

rowHeight is always 11 unless you're using the tallCustom style for your cells. That was added in Palm OS 4. Actually, it may be larger for cells that have multiline fields in them; you should really get the Palm OS 4 source code from palmos.com's developer section and read it if you're doing anything with tables, as they aren't very transparent.


I'm almost to the point of just scrapping the PalmOS
tables and drawing everything manually, since I'm
custom drawing everything already. I have a weird form
with 3 overlaying tables and pushbuttons to determine
which table is actually being displayed.

That may be a good idea.


-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/



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

Reply via email to