Forum Discussion
3 Replies
- RokuChrisRoku EmployeeThe (*) button on a roListScreen raises an isRemoteKeyPressed() event. So you would do something like
if type(msg) = "roListScreenEvent"
if msg.isRemoteKeyPressed()
index = msg.GetIndex()
if index = 10 'INFO
' do stuff
end if
end if
end if - Avi_LiebermanVisitorit's works.
how i know the index of the item that focus when the info button pressed?
thanks - RokuChrisRoku EmployeeYou can keep track of the focused item using the isListItemFocused() event
if msg.isListItemFocused()
focusedItem = msg.GetIndex()
end if