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 02-10-2016, 01:08 PM
Darqwood's Avatar
Darqwood Darqwood is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Posts: 965
Default

Depends on what you want to do with it. Buttons have a style that defines, among other things, the color of the text a) when you are not interacting with the button, b) when the mouse is hovering over the button, and c) when the button is disabled. If you look into the button styles you will see a PressedTextColor attribute but I have not used it successfully. MouseOverTextColor seems to override PressedTextColor.

If you want it to stay changed after the mouse moves away from it, you might look at the ToggleButton (which is really a checkbox that looks like a button.) Here you can use OnSet and OnUnset to change the TextColor. OnPress also works, but if you want it to behave like a normal button you will have to do something else, possibly use OnHoverOut to deactivate it and change back to the original color when the mouse exits the button.


.
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:14 PM.


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