Hello Med. As work around, I would do this:
- Add a ATLabel somewhere, set to autosize = true and visible = false. When you need to know the width of a character: ATlabel.font := theObject.frame.font; ATlabel.font.height := theObject.frame.font.height; ATlabel.font.width := theObject.frame.font.width; ATlabel.caption := '-'; width_of_char := ATlabel.width ; ----> here the width you want. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk