From Xojo Documentation

Revision as of 23:46, 6 August 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Supported on Mobile.

For Screens that were displayed using PushTo, this closes the Screen causing the previous Screen to display.


Since calling Close displays the previous Screen, you can call it to simulate the user pressing a "Back" button on the Screen.

You cannot close the main Screen (the one that is specified as the Content for the iOS Layout), however you can swap in another Screen by using the MobileApplication.CurrentLayout property.