Ah, that's great. :-D I saw the horizontalOffset function but wasn't sure what it did.
Now trying to figure out how I can determine the length of some text when it's broken over several lines.. the length as if it were on one line..
I guess I could copy the text to a very wide text box and measure it using the method in the first reply.