Thank's Marcia,
It's interesting method, but I don't need it. I have own AutoFit method.
In class "Sortable grid" file#
9970 by Vlad Grynchyshyn is special Autofit method too.
MartinJ
>
Yes, a nice function, but have a one limitation - don't respekt properties
>
>DynamicFontSize,
DynamicFontName,
DynamicFontBold, etc.>
>Oh, I did not know that. If this is so, it certainly sounds like a bug to me < s >.
>
>In that case, take a look at the SetColWidth) method of the gridbuilder class in GridBldr.vcx. You have to unzip xSource.zip and you will find it under the builders folder. Should give you some ideas.