Location of text in a field

Peter Bogdanoff bogdanoff at me.com
Wed May 27 21:02:36 CEST 2015


Yes!

Thanks Scott.

On May 27, 2015, at 11:54 AM, Scott Rossi <scott at tactilemedia.com> wrote:

> 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
> 
> 
> 
> _______________________________________________
> 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