I need the optimal column width for a column in the MSFlexGrid (VB 5).<br>
I tried coding with the textMatrix-string length multiplied with a constant.<br>
This is very unsatisfying, is there a better way of coding it?<br>
mbuss,<br>
<br>
What I've done in the past (not sure if it is best or not) is use the textwidth function to establish what the largest size of column I would need to hold a string and then set the column appropriate column to that size using colwidth.<br>
<br>
Hope that helps<br>
<br>
DSJ
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.