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

Paul Dupuis paul at researchware.com
Thu Jul 11 11:17:10 EDT 2019


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