...can I do something like this pseudocode describes?
for(Slider s in Sliders){
doSomethingWith(s)
}
Thanks!
Bryan
Are UI Controls Iterable?
Re: Are UI Controls Iterable?
Unfortunately there's no Voltage Modular API mechanism to iterate through components or navigate through parent/child hierarchies.
You have to DIY by saving references in an array or other collection, either by explicit references to the variable name set in the properties of components added using the designer tool or programmatically if you use the AddComponent() or AddChildComponent() methods to instantiate your own components.
You have to DIY by saving references in an array or other collection, either by explicit references to the variable name set in the properties of components added using the designer tool or programmatically if you use the AddComponent() or AddChildComponent() methods to instantiate your own components.
Re: Are UI Controls Iterable?
Thanks for the info!