Curiously, it also returns the screen number for stacks that are not open.
Bob S > On Jul 11, 2019, at 08:17 , Paul Dupuis via use-livecode > <use-livecode@lists.runrev.com> wrote: > > The screen of stack X returns the number of the monitor (the line number for > the screenRects) that the stack/window is on. > > How exactly is this determined? I presume it is based on the loc (location) > property of the stack, since the window (effective rect or rect) itself can > span multiple monitors, but the loc of a stack, being a point, must be one > only a single monitor. > > However, if someone with applicable knowledge could confirm that it would be > appreciated. The Dictionary does not clarify how the screen is determined. > > It would also help if someone could confirm that the screen value is > meaningless until the stack/window is opened (much like that the effective > rect is meaningless until a stack is opened)? > > If someone from the mothership can verify, I would be happy to open a doc > bug, update the dictionary, and generate a PR for an update to the screen > property Dictionary entry to clarify these two points. _______________________________________________ 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