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 <[email protected]> To: dunbarx--- via use-livecode <[email protected]> Cc: Mark Wieder <[email protected]> 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 [email protected] _______________________________________________ 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
