What if the control is inside a tab?
I have most of my controls inside a tab and the property node of Controls for pane does not return those controls.
To calify Lynn's reply
Tab ref >>> Pages >>> controls on page
And to update the original thread...
FP >>> Panes >>> controls
Ben
What should I do if I want to get programmatically a control reference, and set his increment.
Do I have to iterate all the FP.controls[] ?
Example: When I click one of the buttons labeled "Multiplier x" (x=1,2,3, etc...), I want to change the "increment" property of another control labeled "Value x" (x=1,2,3, etc...).
See figure, confirm if there is better solution (that is *direct* access to a control reference by naming its label)
Thanks
I think what you are showing will work. I do not know of any way to get the direct access you asked about.
What is your concern about this approach? The time it takes should be insignificant compared to the speed of the user, even if you have many controls on the panel.
Lynn
Indeed it's not working as I imagine because I just discovered there is no property access to "limit".
Even if it worked, it is suboptimal! 🙂
Take a look at this Nugget on using Control references. When you cast the reference as the proper type, you can access the properties of the widget. Here is a preview.
Ben