This seems like a very simple question but how can I add a custom property to all the elements on my form and then assign it a value in the form designer interface?
Many thanks
Caroline
This seems like a very simple question but how can I add a custom property to all the elements on my form and then assign it a value in the form designer interface?
Many thanks
Caroline
It is not possible to add custom properties like that.
But please explain what you are trying to do, because there is probably another way to achieve what you want.
Ok Joas, so I want to write a resize method to enable several Text_Areas to expand, but to share the amount they expand. What would you recommend for allocating to a field what percentage of the screen size it should use. (Does that make sense?)
Many thanks
Isn’t it easier to just calculate the new size in your method based on the original sizes of the element and the form (that you can get using the solutionModel) and the current size of the form?
Then if you get a new field on your form, you don’t have to change all those properties.
Ok Joas, I’ve been playing with this but with only a limited success. I can sort of get it to work for a very simple scenario but not for real world use. You appear to need far more information about unrelated elements to be able to do this properly.
Does anyone have any suggestions?? (I know it is something many people require!)
Thanks
Caroline