SBendBuckeye
Programmer
Hello all,
How do you determine text width when using proportional fonts? We are using a 3rd party grid which will automatically wrap column headers if they contain embedded spaces (eg Multi Column Header) if the user resizes them. But if I do it in code, it will print it all on one line and thus too wide.
I can split the headers into an array but what method do I use to calculate the text width (eg iiiii is always narrower than Thanks in advance for any ideas and/or suggestions!
Have a great day!
How do you determine text width when using proportional fonts? We are using a 3rd party grid which will automatically wrap column headers if they contain embedded spaces (eg Multi Column Header) if the user resizes them. But if I do it in code, it will print it all on one line and thus too wide.
I can split the headers into an array but what method do I use to calculate the text width (eg iiiii is always narrower than Thanks in advance for any ideas and/or suggestions!
Have a great day!