how to prevent any mouse-clicking until a patch will be completely loaded (with a message)

    Oct 14 2009 | 7:15 pm
    Dear users,
    When we run a program, we see the logo and we can not give any message until the program will be completely loaded. I want program this in my patch. What should I do? How can I prevent any mouse-clicking until a patch will be completely loaded. How can I display a waiting-message?
    best, prko

    • Oct 15 2009 | 4:12 am
      Another angle is to initially load a [panel] that covers everything, colored white with some transparency, so your patch could show but not be clickable. While you want it un-clickable, have a [ubutton] over everything which doesn't do anything (it intercepts all clicks though). When the patch is done loading, hide the panel and ubutton and you're ready to go.
      A popup window with "Loading..." or something is also really easy, look to [pcontrol] for window and popup controls. awesome object in so many other cases too... combined with windows being floating or not, you can do pretty much anything you want.
    • Oct 15 2009 | 8:22 am
    • Oct 15 2009 | 4:33 pm
      A solution I often use is to open, in front of the patcher, a window which invite to wait, I close it when all is OK. It's very useful when some people using my patch don't remember they have to wait.
    • Oct 15 2009 | 6:47 pm
      Thanks! It is exactly what I want to do!
      best, prko