how to know 2 monitors are in use?

Paul Dupuis paul at researchware.com
Tue Sep 25 21:02:34 EDT 2018


"the screenrects" will return the rectangles of all active monitors with
the default monitor as the 1st line.

Unfortunately, "the screenLoc" only returns the center of the default
monitor. You would need to get the rect of any other monitor and
calculate the center for centering a dialog on other monitors.



 On 9/25/2018 8:52 PM, Nicolas Cueto via use-livecode wrote:
> During "development" on Windows with 2 monitors, how to use "set the loc of
> this stack to the screenloc" so that a stack centres in on one or the other
> monitor? (And, if not in the development environment? say, a standalone?)
>
> Thanks.
>
> --
> Nicolas Cueto
> _______________________________________________
> 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