Y coordinate for a line of text

scott at elementarysoftware.com scott at elementarysoftware.com
Tue Nov 12 22:10:50 EST 2019


Thank you Craig and Paul. Your answers were what I was hoping for. Devin, it turned out that selectedLoc() was the easiest to implement. How did I not know about that function!
Thanks!

Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web       https://elementarysoftware.com/
email     scott at elementarysoftware.com
booth    1-800-615-0867
------------------------------------------------------



> On Nov 12, 2019, at 8:46 AM, Devin Asay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> The selectedLoc function may also be helpful.
> 
> 
>> On Nov 12, 2019, at 7:27 AM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> You may want to look at the Dictionary entry for "measureText"
>> 
>> 
>> On 11/12/2019 1:43 AM, scott--- via use-livecode wrote:
>>> I’m needing to know the coordinate (Y is the tricky one) for a line of text. I’m not do a very good job at calculating it. I think I remember a newish LC command or function that achieved this but I can’t locate it in the dictionary. Am I imagining?
>>> 
>>> --
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web       https://elementarysoftware.com/
>>> email     scott at elementarysoftware.com
>>> booth    1-800-615-0867
>>> 
>>> ------------------------------------------------------
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> _______________________________________________
> 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