aktell
04-23-2012, 12:30 AM
Hi there,
I have this Xml Tree ViewStack set up which works fine now for many month as it is, but I do need to do more with it, and I have the problem that I can't work it out the way it should preform using IF or a Switch.
Maybe somebody had come across a similar problem ???
Any help would be appreciated ! regards aktell
........
if (showThisView != "") {
myViewStack.selectedChild = this[showThisView];
I need to address every time a different function I select a different
Node in this Tree.
e.g.
myViewStack.selectedChild == 0 .... ??? - function DO THIS
myViewStack.selectedChild == 1 .... ??? - function DO THAT
etc.
}
........
I have this Xml Tree ViewStack set up which works fine now for many month as it is, but I do need to do more with it, and I have the problem that I can't work it out the way it should preform using IF or a Switch.
Maybe somebody had come across a similar problem ???
Any help would be appreciated ! regards aktell
........
if (showThisView != "") {
myViewStack.selectedChild = this[showThisView];
I need to address every time a different function I select a different
Node in this Tree.
e.g.
myViewStack.selectedChild == 0 .... ??? - function DO THIS
myViewStack.selectedChild == 1 .... ??? - function DO THAT
etc.
}
........