Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
Select Msgbox2("Leave the adventure?", "", "Quit", "Restart", "Cancel", Null)
Case DialogResponse.NEGATIVE
Return True
Case DialogResponse.CANCEL
startButton_Click
Return True
Case DialogResponse.POSITIVE
quitandsave
End Select
End If
End Sub
Expanding on the disable back key in this thread, is there a way to disable the back key once this Msgbox2 has appeared - forcing only the options of Quit, Restart, or Cancel. I've played with an Else in there (now removed) and can't seem to get it right.
Thanks!