Thx, Geoff.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Geoff Canyon
Sent: Wednesday, December 05, 2001 1:01 PM
To: [EMAIL PROTECTED]
Subject: Re: String width


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" :-)

regards,

Geoff

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to