THOUGHT: the [effective] [working] screenLoc

Paul Dupuis paul at researchware.com
Mon Jun 4 11:08:59 EDT 2018


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.



On 6/1/2018 1:19 PM, Paul Dupuis via use-livecode wrote:
> In doing some scripting to hadle window and screen management for our
> apps when multiple monitors are involved, I am puzzled by:
>
> Why does the screenLoc not have the effective and/or working keywords
> for it?????
>
> A common item is to set the loc of window <somewindow> to the screenLoc
> to center the window on the screen. A common practice for dialogs for
> example. However, if screen real estate is used up by menubars,
> taskbars, on screen keyboards or what have you what you really want is
> the center of the available screen area for the app.
>
> Obviously, I can get this from the effective working screenRect and then
> just compute the center (roll my own realScreenLoc() function), but I am
> curious from the LiveCode folks if there is some technical issue with
> adding effective and working to the screenLoc or was this just something
> no one ever asked for before?
>
> P.S. If no one has asked, I'll file an enhancement request
>
>
> _______________________________________________
> 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