View Single Post
  #7  
Unread 11-16-2007, 11:35 PM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

Quote:
Originally Posted by gm9 View Post
  • 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!
__________________

Visit Othesus World!

Last edited by Othesus : 11-16-2007 at 11:39 PM.
Reply With Quote