Hi.
Would the selectedLoc help? select char 3 of word 9 of fld "yourField" answer the selectedLoc Craig -----Original Message----- From: Peter Bogdanoff <[email protected]> To: How to use LiveCode <[email protected]> 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 [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
