Question about "the screen" property of stacks...

Bob Sneidar bobsneidar at iotecdigital.com
Thu Jul 11 11:25:27 EDT 2019


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





More information about the Use-livecode mailing list