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
  #17  
Unread 03-28-2011, 01:20 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Quote:
Originally Posted by Drumstix42 View Post
I wasn't even thinking of which Add button this was until now. So yeah, as they already said, you can't reference the Add button or the cloned buttons from the Checkbox.

So, leave your checkbox as is, and don't put any special code in it.
What you'd probably have to do, is use a OnHoverIn code to show your fake Add button or not.

The code would look something like this:
OnHoverIn="Visible=(Parent.Parent.YourCheckBox.checked == true)"

That way if the checkbox wasn't checked, the fake button would hide, and the normal Add button would then be pressable. You'd have to put this "OnHoverIn" code directly on the FakeAdd button I'm thinkin though, so it would get copied through the whole template.
Awsome, almost got it.

My button has HoverIn=Visible=(Parent.Parent.FilterPage.AutoClose.checked == true)

But the issue now is if the checkbox (Named AutoClose) keeps the button visible if the check box is checked as needed, and if i uncheck the box it disappears on mouse-over, but if i re-check the box and mouse-over the button again the custom button doesn't re-appear.

The funny thing about this code is its not even for me, its for a friend that wanted this option added to her UI lol.
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 08:24 PM.


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