Avi_Lieberman
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2012
02:52 AM
Info button in ListScreen
hi'
how i did this?
like pandora options
thanks
how i did this?
like pandora options
thanks
3 REPLIES 3


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2012
11:13 AM
Re: Info button in ListScreen
The (*) 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_Lieberman
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2012
02:54 AM
Re: Info button in ListScreen
it's works.
how i know the index of the item that focus when the info button pressed?
thanks
how i know the index of the item that focus when the info button pressed?
thanks


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2012
07:29 PM
Re: Info button in ListScreen
You can keep track of the focused item using the isListItemFocused() event
if msg.isListItemFocused()
focusedItem = msg.GetIndex()
end if