EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Unread 04-21-2007, 12:04 PM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

I haven't played in a while but the way I recall it:

1st. the OnActivate is called instantly everytime when you click on a button/checkbox

2nd. The OnPress or OnSet doesn't get called until you let go of the mouse button.
In other words, if you move the mouse off of the button before letting go of the button, you can cancel the click.

3rd. The OnDeactivate gets called everytime

I don't think that helps but it does help explain the buttons.. I'm not sure what goes on if you hold the button down on a checkbox.

You can try putting the set_focus in the OnDeactivate and see what happens.

Edit:
I'm not 100% sure a checkbox works like a button though.

I used to use 2 buttons for minimize/restore with the same size and location

The minimize button would hide itself and show the restore button (OnSet event)
The restore button would hide itself and show the minimize button (OnUnset event)
__________________
Talyns

Last edited by Talyns : 04-21-2007 at 12:20 PM.
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:13 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI