Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
btpoole
Level 7

Checklist Scroll

Thought I might create a simple checklist that allows users to create a favorites list. I had done this once before using a springboard screen but thought I'd try it with the checklist component. Maybe a mistake. I got the checklist to populate and display the content but I can't scroll down or up in the list. Kinda under the thought process that scrolling and selection was tied to the component like in the markupgrid or markuplist. I took the checklist example from the sdk and modified some to load data from an array, which it does. Based on code, why would it not scroll? The example in the sdk has no onkey functions or observerfield.
data= CreateObject("roSGNode", "ContentNode")
example = m.top.findNode("favCheckList")
examplerect = example.boundingRect()
example.translation = [ 500, 125 ]

for each item in m.cdata
?item.channel
dataItem = data.CreateChild("ContentNode")
dataItem.title= item.cname
end for
example.content=data
m.top.setFocus(true)
0 Kudos