Quote:
Originally Posted by gm9
- fixed minimizing/restoring code - this may affect plugins that try to call the minimize/restore functions because I changed the OnActivate/OnDeactive events to OnPress events in the process
|
Grrrrr! You just changed OnActivate to OnPress? I wish these scripts would work consistently. It would save us hours and hours of debugging time. I don't know if any plugins use the minimize/restore button but probably not.
OnActivate sometimes executes scripts out of order but activates when you click the mouse button.
Edit: Hmm, now that I look at it some more OnActivate may just be activating more than once if you hold the mouse button down, or it's getting a second mouse-down event.
OnPress executes scripts in order, it seems, but presses when you let go of the mouse button.
For a
Checkbox some of the scripts may not be executed at all if you don't hold the mouse button down long enough!
Scripters beware!