Page 1 of 1

Application.Sleep

Posted: Sun Mar 18, 2018 1:49 pm
by djrikki
Question for Thore really I suppose, I guess the answer might be 'it's historical'.

I've always wondered why the property Sleep of the Application class is stackable? How can this behaviour be useful?

In fact I created my own base function in Hollywood to prevent the stacking nature of this property.

Code: Select all

Function base:SafeSleep(window,state)
   If mui.Get(window, "sleep") = Not(state) Then mui.Set(window, "sleep", state)
EndFunction

Re: Application.Sleep

Posted: Tue Mar 20, 2018 7:37 pm
by airsoftsoftwair
Don't forget to ping Thore because I don't know if he's following these forums all the time...