m.contentPanel = CreateObject("roSGNode", "ContentPanel")
m.panelSet.appendChild(m.contentPanel)
m.contentPanel.setFocus(true)
m.top.panelSize = "full"
m.top.hasNextPanel = false
m.top.isFullScreen = true
m.contentGrid = m.top.createChild("ContentGrid")
m.contentGrid.setFocus(true)
Sub Init()
m.contentPanel = m.top.FindNode("ContentPanel") ' I previously declare it in the XML component with some basic properties.
' .... some dynamic properties.
m.contentPanel.SetFocus(True)
m.contentPanel.ObserveField("rowItemFocused", "onContentPanelFocused")
End Sub
Sub onContentPanelFocused()
m.contentPanel.SetFocus(True)
End Sub
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!