Confirm bug in MeasureText in LC7.0.4 stable?

Scott Rossi scott at tactilemedia.com
Tue May 5 15:15:00 EDT 2015


If you need the text height, could you use the formattedRect property?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/5/15, 10:09 AM, "tbodine" <bodine at bodinetraininggames.com> wrote:

>Hi John.
>
>It wouldn't be the first time the bug turned out to be in my brain. But
>does
>it strike anyone else, based on the dictionary description, that this
>should
>be reporting info. similar to the formattedHeight and formattedWidth?
>
>Use the measureText function to find the dimensions of text drawn with the
>effective font attributes of an object.
>Parameters:
>The text is any native string. For unicode strings use measureUnicodeText.
>The object reference is an expression that evaluates to an object
>reference.
>The mode is one of:
>€	width - (default if not specified) - returns the width of the text
>€	size - returns the width,height of the text
>
>Thanks,
>Tom
>
>
>
>--
>View this message in context:
>http://runtime-revolution.278305.n4.nabble.com/Confirm-bug-in-MeasureText-
>in-LC7-0-4-stable-tp4691854p4691857.html
>Sent from the Revolution - User mailing list archive at Nabble.com.
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list