<field id="focusPercent" type="float" onChange="itemFocusChanged"/>
...
m.button.observeField("focusedChild", "focusChanged")
...
sub focusChanged()
if m.button.hasFocus()
' the button has focus, decorate accordingly'
else
' the button lost focus, undecorate accordingly'
end if
end sub
m.top.observeField("focusedChild", "onFocusChanged")
Glad to hear that worked @jaxim
Also ... can you listen for the built in 'itemFocused' event when scrolling right?
https://developer.roku.com/en-ca/docs/references/scenegraph/list-and-grid-nodes/overview.md
Also I want to invite you to the Roku Developers Slack channel where you can post queries in the #general channel get answers within a few hours, that really helps when you get stuck.
https://join.slack.com/t/rokudevelopers/shared_invite/zt-1vjv6k513-~4Nf8uNTDJ1SHYTvUkbpDw