Y coordinate for a line of text

dunbarx at aol.com dunbarx at aol.com
Thu Nov 14 12:42:39 EST 2019


I misStated this completely. The point being that no property of the field itself should be a factor at all, not its loc or rect, for example. Only the Y value of the selectedLine is pertinent.
Glad you have what you need, but I still do not see the value of the selectedLoc. This depends on the loc of the field, and otherwise has no relationship to the field itself, that is, the Y coordinate within that field.
Craig


-----Original Message-----
From: Mark Wieder via use-livecode <use-livecode at lists.runrev.com>
To: dunbarx--- via use-livecode <use-livecode at lists.runrev.com>
Cc: Mark Wieder <ahsoftware at sonic.net>
Sent: Wed, Nov 13, 2019 11:20 am
Subject: Re: Y coordinate for a line of text

On 11/13/19 8:11 AM, dunbarx--- via use-livecode wrote:
> The selectedLoc will give the loc in window coordinates, not the "local" Y coordinate within the field of interest, which is what I thought you wanted. I cannot imagine what value that would have, since it depends on where the stack window is currently placed.

localLoc()

-- 
  Mark Wieder
  ahsoftware at gmail.com

_______________________________________________
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