>Hello all,
>does anyone know the formula to calculate a textbox width and the like, based on the font,fontsize number of characters etc..., my client ( quite rightly ) only wants to display the exact number of storable characters.
>
>regards
>
>Peter Kane
Pete,
Check fontmetric(), txtwidth(). With proportional fonts it's impossible to get exact width IMHO.
Cetin