Thread
:
Anyone know about Event Properties: OnActivate, OnDisable, ...?
View Single Post
#
7
01-02-2005, 07:05 AM
Deathbane27
aka Mook
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
FOUND IT!!!!!!!!!!!!!!!!!!
Parent.Element.Property=Value
So to change the opacity of HealthBar, which is on the same page as the button you press, you use:
OnPress="Parent.HealthBar.Opacity=0.250"
WOOT!
BUWAHAHA!!! I've got a button in my Player window that changes the color of my Compass!
Edit: And you can use Parent.Parent to refer to two pages above you, etc.
__________________
If it ain't broke, it needs more features!
Last edited by Deathbane27 : 01-02-2005 at
05:06 PM
.
Deathbane27
View Public Profile
Send a private message to Deathbane27
Find all posts by Deathbane27