On 01/09/2016 03:55 PM, Dr. Hawkins wrote:
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 move
it.

*should* you need to know this?
I would think that ideally the user should be in control of whether something goes on one screen or another, and that this ability shouldn't be taken away from them.

If this really is something you need, then I use the screenrects in more or less the way you describe to figure out what screen something is on. And it's "more or less" because I just look at the loc of the object and compare that with the rect elements of the screenrects.

--
 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

Reply via email to