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:
Code: Select all
screen.SetBreadcrumbText("Main Menu", content[msg.GetIndex()].Title)
... 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!