Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
btpoole
Channel Surfer

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