I need to detect when someone closes the screen before the channel exits completely. Per this documentation, it looks like I should be getting an isScreenClosed event.
But it never arrives. Does everyone else see the same? I even checked out some sample channels, such as this one:
And yet when I hit the back button, no event is detected. I added the print statement in the snippet below from the Main function, and it is never executed. Any ideas?
Code: Select all
msg = wait(0, m.port)
msgType = type(msg)
Print "we got it!!"
If msgType = "roSGScreenEvent"Then
if msg.isScreenClosed() then return