> iSize = TXTWIDTH(replicate('O',fsize(FIELD(iColumn))), sFontName, iFontSize) * Fontmetric(6, sFontName, iFontSize) >Um, yes, that's what I always forget and have to add later - that txtwidth() function (or .textwidth() method) return the text width in average characters, and that it needs to be multiplied with average character width to get pixels.