![]() |
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='#BB0000'" OnDeactivate="Parent.F2Label.BackgroundColor='#999999'" ScrollExtent="10,10" Size="10,10" Visible="false" /> But nothing happen when I hit F2. Could someone lead me the way out? Regards, |
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