I believe this question was already asked, but it was in Java, so I couldn't understand the solution.
Here is my problem, I want to know actual length of the text in pixels (note that various letters have different length in some fonts). I am going to use this for better column width adjustment in DBGrid.
Thank you, Tofig Hasanov