Discuss GUI programming with the MUI Royale plugin here
Post Reply
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am


Post 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)
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI

User avatar
Posts: 4392
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany

Re: Application.Sleep

Post by airsoftsoftwair »

Don't forget to ping Thore because I don't know if he's following these forums all the time...

Post Reply