EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Q: OnActivate (https://www.eq2interface.com/forums/showthread.php?t=11272)

Minty 07-09-2008 11:29 PM

Q: OnActivate
 
1 Attachment(s)
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,

Minty 07-10-2008 05:00 AM

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,


All times are GMT -5. The time now is 10:29 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI