EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 07-09-2008, 11:29 PM
Minty Minty is offline
A Brown Bear
 
Join Date: Jun 2008
Server: Antonia Bayle
Posts: 9
Default Q: OnActivate

Hi there,

I am tring to realize changing color on label when F2-F6 hit on group member window.

And I tried to modify from Kithicor UI mods.
Attached file is my sample which is not working.

I added button in line 21,
<Button Name="FocusTrigger" OnActivate="Parent.F2Label.BackgroundColor=&apos;#BB0000&apos;" OnDeactivate="Parent.F2Label.BackgroundColor=&apos;#999999&apos;" ScrollExtent="10,10" Size="10,10" Visible="false" />

But nothing happen when I hit F2.

Could someone lead me the way out?

Regards,
Attached Files
File Type: xml eq2ui_mainhud_groupmembers.xml (42.3 KB, 263 views)
Reply With Quote
  #2  
Unread 07-10-2008, 05:00 AM
Minty Minty is offline
A Brown Bear
 
Join Date: Jun 2008
Server: Antonia Bayle
Posts: 9
Default I found my bug

I found my bug that I didn't set actions,

<Text AbsorbsInput="false" actiontype="Target" DynamicData="/GameData.Target.Name" Font="/Fonts.FontZapf15" LocalText="Longernamethanallowed" MaximumSize="0,0" Name="Name" OnShow="Parent.GroupMember1.MemberInfoPage.FocusTrigger.Activated=((Parent.Group Member1.MemberInfoPage.Name.LocalText)==(LocalText)) visible=false" ScrollExtent="148,15" TextAlignment="Right" Visible="false"></Text>
<Page DynamicData="/GameData.Target.Window" DynamicDataFilter="0001" Name="LabelReseter" OnHide="Parent.GroupMember1.MemberInfoPage.FocusTrigger.Activated=false " Visible="false"/>

It is working after I inserted that text and page.


Thank you,
Reply With Quote
Reply



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 01:33 PM.


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