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

Mark Waddingham mark at
Thu Jul 11 14:31:14 EDT 2019

On 2019-07-11 19:30, Paul Dupuis via use-livecode wrote:
> Sorry, one more question:
> I assume since 'the screen of stack' is calculated dynamically, that
> in a 'on desktopChanged' handler (triggered by a monitor being
> removed) that looking at 'the screen of stack' for a stack on the
> now-removed monitor would give you the closest remaining monitor?

Yes - the engine refetches the displays list (which you see in the C 
before desktopChanged is sent (indeed, the engine responds to an OS
notification about the screen setup changing in order to send the 

Warmest Regards,


Mark Waddingham ~ mark at ~
LiveCode: Everyone can create apps

More information about the Use-livecode mailing list