Well . . .

My Devawriter Pro has an optional faux backdrop stack (it's called "DESKER") with this stackScript:

*on**preOpenStack*

**

***put**((item 3 **of****the****screenRect**) + 20) **into**WIDD*

**

***put**((item 4 **of****the****screenRect**) + 20) **into**HITE*

**

***set****the****width****of**stack "DESKER" **to**WIDD*

**

***set****the****height****of**stack "DESKER" **to**HITE*

**

***set****the****loc****of**stack "DESKER" **to****the****screenLoc*

**

*end**preOpenStack*

****

*on**mouseDown*

**

***toplevel**stack "DWPro"*

**

*end**mouseDown*

****

*on**mouseUp*

**

***toplevel**stack "DWPro"*

**

*end**mouseUp*

So this sort of thing is doable IFF you have a way of determining the names of all the stacks you want in front of
your faux backdrop.

While you can use *toplevel* to bring one stack to the forefront there is no **backlevel* to send a stack to the back.

*Richmond.*


On 7/19/17 7:59 pm, Mark Waddingham via use-livecode wrote:
On 2017-07-19 18:32, Richard Gaskin via use-livecode wrote:
All this talk about the background has me wondering:  would it be
useful to anyone here if we had a way to:

- set the layer of a stack below all other LC stacks (opposite
  of palette)

- set the layer ouf a stack below all other windows (opposite
  of systemWindow)

It might be useful - although probably not implementable (judging by how hard it is to get the backdrop to work reliably on all platforms).

Warmest Regards,

Mark.


_______________________________________________
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

Reply via email to