Figuring out if something is on the current screen, or getting the current screen rect
scott at tactilemedia.com
Sat Jan 9 19:53:39 EST 2016
I believe the screenRects is the only function that determines if you have
multiple monitors available. So comparing stack rects or plugging points
from your group rect/s into the globalLoc function would be the way to go.
The screenRect by itself determines the rect of the main monitor.
Tactile Media, UX/UI Design
On 1/9/16, 3:55 PM, "use-livecode on behalf of Dr. Hawkins"
<use-livecode-bounces at lists.runrev.com on behalf of dochawk at gmail.com>
>As I look through screenLoc, screenRect(s), etc., I'm not seeing *any* way
>to figure out which screen an object is on, short of manually comparing
>elements of its rect to the various bits of screensRects.
>In particular, I want to know if another stack (or group) that I set the
>position of will actually fit onto the current screen, or if I need to
>Dr. Richard E. Hawkins, Esq.
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
More information about the Use-livecode