gcanyon at inspiredlogic.com
Wed Dec 5 14:03:06 EST 2001
At 10:53 AM -0600 12/5/01, Jerry Daniels wrote:
>Does anyone know how to determine the width of a string (given it's
>font, style and size) within an executable that is running on either a
>Windows, Linux or Mac?
>I know there were plenty of XFCNs on the Mac to do this, but is there
>anything on the Windows or Linux for this?
As is so often the case with Revolution, no external is required -- the functionality is already there. Check out the formattedWidth function.
I love saying "It's built-in" :-)
More information about the Use-livecode