Info button in ListScreen

hi’
how i did this?
like pandora options
thanks

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

it’s works.
how i know the index of the item that focus when the info button pressed?

thanks

You can keep track of the focused item using the isListItemFocused() event

if msg.isListItemFocused()
  focusedItem = msg.GetIndex()
end if