I'm using an roListScreen and I'm having trouble detecting button presses.
While searching online I see references to the function msg.GetIndex() displaying either the current list item's index OR being used to detect the button press. This doesn't make any sense as it can't be both.
For example, the following code works flawlessly:
if (msg.isListItemFocused())
screen.SetBreadcrumbText("Main Menu", content[msg.GetIndex()].Title)
endif
... so that tells me that .getIndex() gets the current list item, NOT the button being pressed.
I need to be able to use the OK button, really.
=======================================
EDIT: Ok, now I'm getting really confused because I'm "print"'ng the index number and it's different between button presses on the same list item...... so what's going on here? I need to get the button AND the list item separately!