Location of text in a field

Peter Bogdanoff bogdanoff at me.com
Wed May 27 20:20:18 EDT 2015


Craig,

I’ll try that, thanks!

Peter

> On May 27, 2015, at 1:35 PM, dunbarx at aol.com wrote:
> 
> Hi.
> 
> 
> Would the selectedLoc help?
> 
> 
> select char 3 of word 9 of fld "yourField"
> answer the selectedLoc
> 
> 
> Craig
> 
> 
> 
> -----Original Message-----
> From: Peter Bogdanoff <bogdanoff at me.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Sent: Wed, May 27, 2015 2:21 pm
> Subject: Location of text in a field
> 
> 
> 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