M
MyndPhlyp
There doesn't appear to be a MSFlexGrid property to automatically adjust a
column width to fit the contents. It seems to take the column width from the
values placed in the fixed row (ala MSFlexGrid.FormatString). There also
doesn't appear to be a property to enable an "auto resize" if the user
double-clicks between column headings.
Is there a slick way (or even an API call or three) to determine the
displayed length of a string given the font name and size so that the column
width can be programmatically adjusted accordingly?
column width to fit the contents. It seems to take the column width from the
values placed in the fixed row (ala MSFlexGrid.FormatString). There also
doesn't appear to be a property to enable an "auto resize" if the user
double-clicks between column headings.
Is there a slick way (or even an API call or three) to determine the
displayed length of a string given the font name and size so that the column
width can be programmatically adjusted accordingly?