How do I format a simple handler so that it is not strung out like a 1960's 
hippie? Why is there no forum-like area to post scripts? Is this because I am 
using AOL as a portal to the use list?
Craig


-----Original Message-----
From: dunbarx--- via use-livecode <use-livecode@lists.runrev.com>
To: use-livecode <use-livecode@lists.runrev.com>
Cc: dunbarx <dunb...@aol.com>
Sent: Tue, Nov 12, 2019 9:05 am
Subject: Re: Y coordinate for a line of text

Hi.
Assuming you have a field 1 with several lines of text in it, and have set the 
textHeight of that field, then in a button script somewhere;
on mouseUpanswer the textHeight of fld 1 * lineOffset(yourText,fld 1) + the top 
of fld 1end mouseUp
Craig

-----Original Message-----
From: scott--- via use-livecode <use-livecode@lists.runrev.com>
To: How to use LiveCode <use-livecode@lists.runrev.com>
Cc: sc...@elementarysoftware.com <sc...@elementarysoftware.com>
Sent: Tue, Nov 12, 2019 1:45 am
Subject: Y coordinate for a line of text

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    sc...@elementarysoftware.com
booth    1-800-615-0867

------------------------------------------------------








_______________________________________________
use-livecode mailing list
use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to