<Label id="idLabel" />
<interface>
<field id="labelText" type="string" onChange="onLabelTextChange" />
</interface>
sub init()
m.label = m.top.findNode("idLabel")
end sub
sub onLabelTextChange()
m.label.text = m.top.labelText
end sub
sub init()
m.componentA = m.top.findNode("ComponentA")
end sub
m.componentA.labelText = "Hello, World!"
"EnTerr" wrote:
Great examples @belltown, only a clarification - what you explain is tad different from the exact question. It asked about <interface/> - you answered about <field/>.
"belltown" wrote:
I'm still trying to figure all this stuff out myself. I'm finding that a lot of it only makes sense to me when I see things in the context of actual code. For instance, I've read the "Thread Rendezvous" stuff about 10 times, but still haven't got the foggiest idea what it's talking about.
"EnTerr" wrote:
It was actually easier to explore the threads before with the multiple consoles - i like the idea of the new integrated console but the rendezvous just don't work there because all threads are stopped.
"belltown" wrote:
I'm really not liking the intermingled console so far. I was much happier when all my tasks had their own debug ports, and I could set up a separate tab or window for each one. Now my 8085 window is just a jumbled mess. Even my screensaver tasks all output to 8085.
0: i am Main thread
0: blah de blah
1: and i am rendition thread
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
We're sorry for this disruption — we’re excited to share what’s next!