The screenloc is the center of the screen, not the center of the working area or content. The screenloc will never change on the same display, regardless of the content displayed on it.

What I think is being discussed is the loc of the card. This will change on desktop monitors if the stack size is changed. On mobile the card size is basically fixed most of the time and so the loc will also be a fixed coordinate.

Probably what's being asked for is a "working content center loc" function, but since it's so trivial to implement I don't see it as a high priority myself.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 4, 2018 12:19:29 PM Ralph DiMola via use-livecode <use-livecode@lists.runrev.com> wrote:

I agree. The effective and/or working key word should also be modifiers for
the screenLoc function.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Paul Dupuis via use-livecode
Sent: Monday, June 04, 2018 12:08 PM
To: use-livecode@lists.runrev.com
Cc: Paul Dupuis
Subject: Re: THOUGHT: the [effective] [working] screenLoc

Yes, that is why I said (read below) that if others did not think there
should be an effective and/or working key word for the screenLoc function, I
would roll my own based on the screenRect function. I was asking whether
other think the screenLoc function should or should not have these keywords.


On 6/4/2018 11:55 AM, Bob Sneidar via use-livecode wrote:
Seems like you could subtract item 1 from item 3 and item 2 from item 4 of
the effective screenRect to get what you need.

Bob S


On Jun 4, 2018, at 08:08 , Paul Dupuis via use-livecode
<use-livecode@lists.runrev.com> wrote:

I posted the question below and got no responses so I thought I would
try again.

I noticed that screenLoc has no effective or working keywords
associated with it in LC9 or earlier. It seems to me that it should
and that if it has been done for the screenRect(s), it should be a
small enhancement to add them to the screenLoc

Do others agree? If so I will submit and enhancement entry to the
quality center. if not, I'll drop this discussion thread and roll my
own function based on the screenRect function.

_______________________________________________
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




_______________________________________________
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