Location of text in a field

Scott Rossi scott at tactilemedia.com
Wed May 27 14:54:16 EDT 2015


You might try the formattedRect property.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/27/15, 11:20 AM, "Peter Bogdanoff" <bogdanoff at me.com> wrote:

>Hi,
>
>Is there a function that returns the pixel location of a particular char
>in a field?
>
>I¹m working in LC 6.1.3 to change a whole bunch of long one-line fields
>of text to short one-line fields.
>
>As I go to LC 7, these fields are displaying text wider than before in OS
>X (but not Windows) and I need that text to continue to line up under
>images.
>
>I have, what¹s called in music theory, ³roman numeral analysis" which is
>text. This lies under musical notation which are images.
>
>The text is currently a series of 1-3 chars separated by many space
>characters in a long field. I¹m trying to program a method to put those
>1-3 chars in their own fields, each field now displaying text where it
>originally was.
>
>I tried substituting tabs for the spaces, but it doesn¹t consistently
>display the same as before.
>
>The text must remain as text as it is searchable.
>
>Any suggestions?
>
>Peter Bogdanoff
>UCLA
>_______________________________________________
>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