Setting Height, Width for TAdvStringGrid

I'm just getting started using TAdvStringGrid. My first question is how to set the Width & Height so it exactly covers the rows and columns, whose widths and heights are set, upon startup, by DefaultColWidth and DefaultRowHeight. Given, say, a 7x7 grid with these defaults set, how do I set the overall grid Height, Width, so it exactly covers the thing, without scrollbars? Setting the Width to, say, the sum of the column widths doesn't work. Not exactly. And then I'll want to adjust Width later if the user enters data that causes some column width to expand.

Ben Crain

You can do this with: