Robert
1
I’m creating a template with a number of dropdowns in it. I have a clear button to reset them all. This all works fine.
My problem is I want to be sure that they are all cleared when the screen the templates are one is first opened up.
How can I reach into a template with code and cause stuff to happen?
Robert
2
It’s looks like you access a input control in a template from outside the template.
I’m I just doing this all wrong or have I missing something…
Here’s how you access a template component, this example coming from a button on the same window as the template. The getComponent(0) is the gotcha:
event.source.parent.getComponent("Template").getComponent(0).getComponent("Dropdown")