I always thought close screen would close the screen and reveal the screen that called/opened, but now close screen appears to reload the original screen. I have Screen1 and Leaderboard. Screen1 opens Leaderboard. Leaderboard runs close screen. Screen1.Initialize runs again and resets everything. Is this something new?
This happens only in the companion app
Try the apk file
See also some remarks here in the manager screen tutorial
Current limitations of the AI Companion app:
- The close screen block triggers the Initialize event instead of the OtherScreenClosed event.
- The close screen with value block triggers both the Initialize and OtherScreenClosed events instead of only the OtherScreenClosed event.
- The close application block does not work, a message 'Closing forms is not currently supported during development' will be displayed instead.
Taifun
Yes, you are right. Thanks. Works correctly in the apk. A bit annoying. I guess I could set a temporary variable for testing that I can set so it runs through initialize just once.