02-19-2003 08:15 AM
02-19-2003 08:52 AM
02-20-2003 11:30 AM
09-14-2007 04:40 PM
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.
09-17-2007 07:46 AM
09-17-2007 07:59 AM
To calify Lynn's reply
Tab ref >>> Pages >>> controls on page
And to update the original thread...
FP >>> Panes >>> controls
Ben
05-27-2009 07:59 AM
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
05-27-2009 08:09 AM
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
05-27-2009 08:38 AM
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! 🙂
05-27-2009 08:43 AM
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