Yes, a nice function, but have a one limitation - don't respekt properties
DynamicFontSize,
DynamicFontName,
DynamicFontBold, etc.
MartinJ
>
How do I automatically size my grid columns so all the text fit?>
>This is trivial in version 8 and higher:
>
>
>This.AutoFit()
>
>
>Of course, this only works for the visible portion of the grid, so if you want it automatically resize invisible portions of the grid as they come into view, you will need to write some more code to determine when the grid has scrolled and then call its Autofit() method.