View Single Post
  #4  
Unread 01-14-2008, 04:36 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

I've been trying to mess with your example Talyns, but I can't seem to get it to work.

I tried a simple:
OnActivate=('Parent.')##(name)##('.visible=false')

... in attempt for an object to hide itself, but it wouldn't work. I was trying at first to set a variable in another object, but thought I'd first see if I can do something basic. Is my syntax incorrect?

I have a feeling you can only set a property using a variable, but not navigate the XML tree with a variable.
I may have a work-around to what I'm currently working on, but it's no big deal.
Looking at the code again, I see how I could set where I want to go in the tree as the variable in an object, and then execute it using the onActivate. Ugh, so many steps just to do something with a variable
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 01-14-2008 at 04:42 AM.
Reply With Quote