From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

MobileScreen.ShowModal(parent As MobileScreen = Nil, style As ModalPresentationStyles = ModalPresentationStyles.Automatic, animated As Boolean = True)

New in 2020r2

Supported for all project types and targets.

Displays the Screen passed as a modal Screen.


A modal Screen has no navigation bar with a back button the user can use to return to the previous screen.

If you using an iOSTabBar or using an iOSSplitView, you'll need to pass as the parent parameter the Screen in front of which you wish the modal dialog to appear.

Sample Code

Show a dialog from the current Screen:

Var login As New LoginDialog

See Also

Show method.