Need fast way to obtain vertical coordinates of text run

Richard Gaskin ambassador at fourthworld.com
Sat Nov 27 12:49:38 EST 2010


Jonathan Lynch wrote:

> I am pretty sure you can use the FormattedRect of a chunk of text to
> accomplish this.

Thanks, Jonathan.  I had thought so too, but I couldn't work out the 
syntax for it.

But now that you mention it, I went back and tried it again and now it 
works.

Thank you!

I have no idea what was happening before, but this seems to work quite 
well.  Perfectly, actually.

Man, hardly a day goes by when I don't marvel at how easy things are in 
LiveCode....

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv




More information about the use-livecode mailing list