Not a stupid question. I've often wondered why there wasn't an API for making a border on at table. I think your best bet is to use TblGetBounds and WinDrawRectangleFrame to get a border around the outside.
Column dividers would be a little trickier. I'd like to hear what others suggest, but if I were trying to do it I would first use TblSetColumnSpacing to make a 1 px space after each column that needed a divider following it. Then I'd use TblGetColumnWidth on each column (along with the y bounds of my table) to calculate where to do a series of WinDrawLines. Better yet, you might experiment with WinDrawRectangle (a solid rectangle) *before* the table draws. If it's a pixel outside of the table bounds on each side and you have a 1 pixel space between columns I think you should get the effect of a bordered/dividered table when the table overdraws it. David Beers --- I want to put a line border around a scrollable table in a form. Can anyone direct me to a code example? I have the table working, just don't see how to make a border around it like I see in many apps. Probably a stupid question... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
