Tore,
Thanks. This is going t take a while!
Yossi
>This is actually harder to do, than you may immediately think. Check
http://doughennig.com/papers/..%5CPub%5CGDIPlusX.pdf, search for "Measuring text".
>
>>Hi All:
>>
>>I have a class to which I pass a string to be a value for a text box in the class. I then want to adjust the width of the text box so that it is the width of the text string. How do I convert text string width to form control width?
>>
>>Thanks,
>>
>>Yossi