Hi, folks! I'm working on an app that makes heavy use of tables. I have some simple tables (i.e. all rows have the same height) and on more complicated ones. The more complicated tables have these properties:
Three columns: Add/delete button, text field, another text field. The data to be managed with the table has more rows that can be displayed on the screen. Think of 20 rows or something, so multiple rows are hidden. The number of rows of the data varies at run time. I want to be able to add some rows or to delete some. The rows have variable height. Some rows only contain a single word. Others contain lots of words an use multiple lines. Maybe the long cell is in column 2, maybe in column 3. Most of my code already works. What really makes trouble is checking for the need of a scroll bar. Problem here is: I have to check manually for the size of the table and see if it fits on the screen. If not, display a scroll bar. Question is: do I really have to simulate to draw the whole table's contents while counting the cells' heights or is there some function to do this? I mean, heck, do I have to handled this stuff on my own or does the "OS" do this standard stuff for me? Matthias -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
